facebook small issue -


if familiar fql query, why getting error next query:

https://api.facebook.com/method/fql.query?query=select%20post_id,%20actor_id,%20target_id,%20message%20from%20stream%20where%20source_id%20=%20302056140380%20and%20updated_time%20%3e%201111111

this page:https://www.facebook.com/inna?sk=wall want retrive last posts inna's wall.

thank much;

you need provide valid access_token fql request though data public. can test here. won't need have permissions granted access feed, need provide token.

you need access_token of type "any valid" defined here. in short, means can use access_token hasn't expired. 1 easy obtain access_token app access token can obtain going to:

https://graph.facebook.com/oauth/access_tokenclient_id=your_app_id&client_secret=your_app_secret&grant_type=client_credentials

you find your_app_id , your_app_secret under created apps page (or can create 1 there if don't have one).

when provide app id , secret oauth, receive access_token can use request until token expires.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -