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
2.12k stars 663 forks source link

Type error runing page-post-scraper #86

Open thatdavemiles opened 6 years ago

thatdavemiles commented 6 years ago

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'

leftyveggie commented 6 years ago

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

EDIT: Found the answer in another thread: https://github.com/minimaxir/facebook-page-post-scraper/issues/51