align-toparrow-leftarrow-rightbackbellblockcalendarcamerachatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-crosscrosseditfacebookglobegoogleimagesinstagramlocation-pinmagnifying-glassmailmoremuplabelShape 3 + Rectangle 1outlookpersonplusImported LayersImported LayersImported Layersshieldstartwitteryahoo

Re: [NYC-rb] [OT] Facebook Graph and Privacy Question.

From: Steve K
Sent on: Monday, October 24, 2011 9:33 AM
Stephen,

Unfortunately, it seems they are requiring a valid access_token for
that resource at this time.
I doublechecked at https://developers...­.
"any valid access_token or user access_token".

Perhaps you want to consider using a test user account to grab a page's posts?
https://developers...­

I work in the Graph API heavily at my startup so feel free to ask
other questions and I will see if I can help out.

Steve Kashishian

On Mon, Oct 24, 2011 at 8:33 AM, Stephen Schor <[address removed]> wrote:
> Let's I enjoy Coca Cola (http://www.facebo...­ /
> https://graph.face...­).
> 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/po­sts?limit=2&fiel­ds=message',
>  function(responce){­
>     if (responce.data.lengt­h > 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
>
>
>
>
> --
> Please Note: If you hit "REPLY", your message will be sent to everyone on
> this mailing list ([address removed])
> This message was sent by Stephen Schor ([address removed]) from
> NYC.rb.
> To learn more about Stephen Schor, visit his/her member profile
> To unsubscribe or to update your mailing list settings, click here
>
> Meetup, PO Box 4668 #37895 New York, New York[masked] |
> [address removed]

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