minimaxir / facebook-page-post-scraper

Data scraper for Facebook Pages, and also code accompanying the blog post How to Scrape Data From Facebook Page Posts for Statistical Analysis

Repository from Github https://github.comminimaxir/facebook-page-post-scraperRepository from Github https://github.comminimaxir/facebook-page-post-scraper

Type error runing page-post-scraper

thatdavemiles opened this issue · comments

Traceback (most recent call last):
File "fb.py", line 184, in
scrapeFacebookPageFeedStatus(page_id, access_token, since_date, until_date)
File "fb.py", line 154, in scrapeFacebookPageFeedStatus
statuses = json.loads(request_until_succeed(url))
File "C:\Users\DaveM\AppData\Local\Programs\Python\Python35\lib\json_init_.py", line 312, in loadss.class.name))
TypeError: the JSON object must be str, not 'bytes'

I have also got this problem - did you solve the issue?

EDIT: Found the answer in another thread: #51