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

Error while trying to download (code: 400): https://graph.facebook.com//albums?access_token=yyyyyyyyy|xxxxxxxxxxxxxx #45

Open
clabnet opened this issue Feb 16, 2018 · 4 comments

Comments

@clabnet
Copy link

clabnet commented Feb 16, 2018

Version your plugin: 1.7.0
For each request type, as {{ facebook_posts() }}, {{ facebook_album() }}, {{facebook_events() }}, return always the error message on subject.
I have insert the FB app_id and FB secret key; what other settings are required ?
Thank's
Claudio

@katieschrader
Copy link

katieschrader commented Apr 3, 2018

I am having the same issue with the Events feed.

@th0rgall
Copy link
Contributor

th0rgall commented Apr 16, 2018

UPDATE: the below response is outdated and my fork of this plugin does also not work anymore.

Probably there is no solution. See this Stackoverflow thread or another issue for more info.


I had the same issue. Facebook made some changes to their API recently, you can't get the event feed from a page with an app id and secret anymore (see here ).

What worked for me is using a page token. Follow these instructions on how to get one (you do need to be some kind of admin of the page though).

As a current workaround, in my fork I've edited the plugin to accept the page token. Just add the token from above to your facebook.yaml like so:

facebook_common_settings:
  application_id: 'your app id'
  page_token: 'your token'

@prinla
Copy link

prinla commented Apr 19, 2018

Hello thOrgall,
Thanks for the idea. Tried to include your fork and finally found the page-access-token
access-token

I guess that the code I have to enter, right?
Or do I have to do any further step?

Because still the events are not showing up on my website.

Any idea?

@th0rgall
Copy link
Contributor

th0rgall commented May 2, 2018

Hey @prinla, unfortunately I found a few hours after posting that comment that it did not work anymore, because I used a short-lived user token.

I tried again two days ago with various tokens (long- and short-lived ones), and they all did not work.

I suggest to follow this Stackoverflow thread. There does not seem to be any good solution now, but if there is, it will end up there. Facebook really screwed us over here :(

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

4 participants