facebook - retrieving the notifications for a given user -



facebook - retrieving the notifications for a given user -

i'm having serious problems using facebook graph api: retrieve news feed with:

var query = fb.data.query('select post_id, actor_id, message, stream filter_key in (select filter_key stream_filter uid={0} , type="newsfeed")', response.id);

and works fine when seek notification same user with:

var q = fb.data.query('select notification_id notification recipient_id={0},response.id);

not doesn't come in q.wait{} query, seems stop fisrt query supposed retrieve newsfeed , working fine before

if has thought of going on (i went through permissions spec see if specified notification retrieval in vain), grateful.

you're missing apostrophe before comma.

your query should read:

var q = fb.data.query('select notification_id notification recipient_id={0}',response.id);

facebook facebook-fql

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -