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

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

From: Tom M.
Sent on: Monday, October 24, 2011 11:27 AM
Hey guys,

Yes, you will need a valid access token to request this data.


Test: 

- Tom Milewski

On Mon, Oct 24, 2011 at 9:53 AM, Steve K <[address removed]> wrote:
Stephen,

Unfortunately, it seems they are requiring a valid access_token for
that resource at this time.
I doublechecked at https://developers.facebook.com/docs/reference/api/page/.
"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.facebook.com/docs/test_users/

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.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
>
>
>
>
> --
> 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]




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
http://www.meetup.com/NYC-rb/
This message was sent by Steve K ([address removed]) from NYC.rb.
To learn more about Steve K, visit his/her member profile: http://www.meetup.com/NYC-rb/members/11371764/
To unsubscribe or to update your mailing list settings, click here: http://www.meetup.com/NYC-rb/settings/
Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]

Our Sponsors

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