addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

[OT] Facebook Graph and Privacy Question.

From: Stephen S.
Sent on: Friday, October 21, 2011 6:31 PM
Let's I enjoy Coca Cola (http://www.facebook.com/cocacola / https://graph.facebook.com/cocacola/).
I like them so much that I want to use the FB API to pull in their recent posts and spit it onto my blog.

FB.api('/cocacola/posts?limit=2&fields=message',
 function(responce){
    if (responce.data.length > 0){
    // build a string of the responses and put
    // them on the page with DHTML
    }
});

This used to work.
Now it returns an object with the error "An access token is required to request this resource."

I've poured over their documentation for a while - but I'm sure someone on the list has more experience with FB graph.

I find it hard to believe I need to go through an OAuth song-and-dance to grab info from the graph API that's publicly available
on their FB page.

Stephen

Our Sponsors

  • Pivotal Labs

    Provides the awesome event space we use every month!

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy