Home › Forums › CSS › [Solved] Add a Facebook news feed to your Website??? › Re: [Solved] Add a Facebook news feed to your Website???
No worries I figured it out..
Had to sign in as a developer: https://www.facebook.com/developers/
Then ‘Set up a new app’, which will give me an ID and an app Secret.
I then make a GET request to ‘https://graph.facebook.com/oauth/access_token?grant_type=client_credentials&client_id=CLIENT_ID&client_secret=CLIENT_SECRET’ which gives me an Access Token.
I can then use that to access the JSON data: https://graph.facebook.com/PAGE_ID/feed?access_token=ACCESS_TOKEN
Bit more complicated than I expected but managed to get there in the end. Just thought I’d post this in case anyone else came across this problem in future.
John