Skip to content
This repository was archived by the owner on Jul 14, 2020. It is now read-only.

Error in line 184 and 154 #101

@mparackal

Description

@mparackal

I am not a programmer but can find my way through codes like a blind man. So, can you help me, please? I get the following error, not sure what I am doing wrong. Also, the current Facebook API version is 2.12. This code is point to version 2.9 (base = "https://graph.facebook.com/v2.9" # line 139).

Thank you & Kind regard

Mathew

Traceback (most recent call last):
File "C:\Users\parma73p\Desktop\Python\get_fb_posts_fb_page.py", line 184, in
scrapeFacebookPageFeedStatus(page_id, access_token, since_date, until_date)
File "C:\Users\parma73p\Desktop\Python\get_fb_posts_fb_page.py", line 154, in scrapeFacebookPageFeedStatus
statuses = json.loads(request_until_succeed(url))
File "C:\Program Files\IBM\SPSS\Statistics\24\Python3\lib\json_init_.py", line 312, in loads
s.class.name))
TypeError: the JSON object must be str, not 'bytes'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions