Closed thiagovsk closed 9 years ago
For post, it works , example:
me = FbGraph::User.me(ACCESS_TOKEN)
me.feed!(
:message => 'Updating via FbGraph',
:picture => 'https://graph.facebook.com/matake/picture',
:link => 'https://github.com/nov/fb_graph',
:name => 'FbGraph',
:description => 'A Ruby wrapper for Facebook Graph API'
)
@nov it is normal ?
sorry for my late response.
are you asking whether using APP_ACCESS_TOKEN
to access connections under me
is normal or not? then the answer is NO.
app access token (a.k.a 2-legged token) and user access token (a.k.a 3-legged token) are totally different, and you should use ACCESS_TOKEN
when accessing to the user's resource.
app access token is for accessing client's own resource.
I was trying to generate a notification using the irb.
I got the ACCESS_TOKEN in Graph Api Explorer
and i got my user with
and I got my app_access_token with :
I tryed
and
In both attempts I received
This is a problem with the graph api explorer? How do I get one acess_token using fb_graph and not the graph API explorer?
Thanks =)