Using facebook javascript sdk to process fql query -


i have put implemented facebook connect on web-site using javascript sdk. process fql query.

so have 2 questions:

  1. is possible using javascript fql "select id, name user uid in (select uid1 friends uid2=me())" ?

  2. because when tried php sdk code using facebook doc

php:

$app_id = 'my_id'; $app_secret = 'my_app_secret'; $my_url = 'post_auth_url'; $code = $_request["code"]; 

$_request["code"] quite not recognized , don't know "'post_auth_url'" because didn't use php sdk process facebook-connect. have idea?

using method: 'fql.query' part of deprecated rest api.

a better, future-proof way imho send queries against graph api:

fb.api("/fql?q={your urlencoded query}", callback() { … } ); 

Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -