Skip to content

Broken due to Facebook or Python updates? #17

@AndersOhman

Description

@AndersOhman

Hi, I was trying to get this working on a macOS Catalina, but am not having much luck. I was able to get all of the input parameters successfully, including running the GetLongLivedUserAccessToken.py script first, but when running process.py it just displays the "Starting from" string, no errors but no code 200, and then the script stops.

When trying to run on Windows 10 with Python 3.8, I got some invalid syntax messages. It looks like Python 3 changed some syntax - print is now a function and requires parentheses, and httplib was renamed to http.client. Fixing those silenced the syntax errors but led to the same problem as on Mac - it just displays the "Starting from" string, then the code stops.

I was wondering if something about how Facebook handles this request or Python syntax changed since last year, or if it still works for other people and I'm doing something wrong on my end? Thanks very much!

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