Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added possibility to use Page Access Token #7

Merged
merged 1 commit into from
Dec 14, 2018

Conversation

sascha53
Copy link
Contributor

Code didn't work for me in the case getting the latest posts from my own Facebook page. Found out that i had to review my app (public content access or manage pages permissions), but there seems to be a much easier and quicker way to get this working:

https://sujipthapa.co/blog/generating-never-expiring-facebook-page-access-token

To use this i had to set the (page) access token directly. Modified the code to allow this optionally (and omnit app ID and secret key if the access token is set).

Again, this is only working for pages that are owned by the user/developer account.
Furthermore i'm not sure, if that works on other (not owned) pages anymore as Facebook is very strict in the review process (had two failed attempts so far).

@xmhafiz
Copy link
Owner

xmhafiz commented Dec 13, 2018

@sascha53 great solution for non-reviewed fb apps. I will check and test it soon. Thanks.

@xmhafiz xmhafiz merged commit 60d0f0f into xmhafiz:master Dec 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants