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

Facebook Graph now v3.0 - tokens no longer working #337

Open
mistafi opened this issue May 11, 2018 · 8 comments
Open

Facebook Graph now v3.0 - tokens no longer working #337

mistafi opened this issue May 11, 2018 · 8 comments

Comments

@mistafi
Copy link

mistafi commented May 11, 2018

Facebook has updated the graph API to v3.0, and now tokens are no longer working. However, it appears that tokens created before v2.12 are still functioning.

I switched the version in socialfeed.js, but it did not work.

I also scanned Facebook's Broken Changelog and came up empty-handed.

Any help you can offer would be much appreciated.

Thanks for the great plugin!

@vushe
Copy link

vushe commented May 12, 2018

Oh yes, I'm not alone... welcome to issue #330 .

@mistafi
Copy link
Author

mistafi commented May 14, 2018

Possible fix, tested and currently working: go to

https://developers.facebook.com/tools/explorer/145634995501895/?method=GET&path=me%2Ffeed&version=v3.0

and grab the token it generates from here.

@mutiullah7
Copy link

I generated new access token using my App id and app secret but when i put it into the social-feed.js it still dont show facebook page feed, in example (https://pavelk2.github.io/social-feed-example/) facebook is working, please help me too so i can make it work too.
im also not getting any errors in concole

@vushe
Copy link

vushe commented Jun 4, 2018

@mutiullah7, don't bother with that. Most probably new FB API won't work with this plugin.

As an alternative I suggest you to try free option at juicer.io.
Other questions: issue #330.

@mutiullah7
Copy link

mutiullah7 commented Jun 4, 2018

Hi @vushe i created new access token using app id and app secret its working again for me

@vushe
Copy link

vushe commented Jun 5, 2018

Great to know, @mutiullah7. Thanks for feedback!

@davabo
Copy link

davabo commented Jun 26, 2018

thank you @mutiullah7 and @vushe your discussions has really helped me fix the plugin.

As said in other posts, update your socialfeed.js to v2.12

request_url = Feed.facebook.graph + 'v2.12/' + userdata.id + '/posts'+ fields + limit + query_extention;

request_url = Feed.facebook.graph + 'v2.12/' + page + '/feed'+ fields + limit + query_extention;

After you've changed the above, go to this link and generate your new access code -> https://developers.facebook.com/tools/explorer/145634995501895/?method=GET&path=me%2Ffeed&version=v3.0

Add that into your js file and BOOM - fixed.

Thanks again!!

@kierweb
Copy link

kierweb commented Jun 26, 2018

I believe the access codes which are generated by that link are time restricted.

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

No branches or pull requests

5 participants