Giter Site home page Giter Site logo

Error while trying to download (code: 400): https://graph.facebook.com//albums?access_token=yyyyyyyyy|xxxxxxxxxxxxxx about grav-plugin-facebook HOT 4 OPEN

clabnet avatar clabnet commented on May 25, 2024
Error while trying to download (code: 400): https://graph.facebook.com//albums?access_token=yyyyyyyyy|xxxxxxxxxxxxxx

from grav-plugin-facebook.

Comments (4)

th0rgall avatar th0rgall commented on May 25, 2024 1

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'

from grav-plugin-facebook.

katieschrader avatar katieschrader commented on May 25, 2024

I am having the same issue with the Events feed.

from grav-plugin-facebook.

prinla avatar prinla commented on May 25, 2024

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?

from grav-plugin-facebook.

th0rgall avatar th0rgall commented on May 25, 2024

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 :(

from grav-plugin-facebook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.