php - Facebook graph api- how to get user feed,with out posts about likes and comment by the user? -


i developing fb app,in want give users time line,but need exclude stories "user likes photo","coments on friends's photo".how filter , exclude these types of stories

you can filter these posts looking presence of story or story_tags key these not present in posts made user.

quoting documentation description of story key

text of stories not intentionally generated users, such generated when 2 users become friends; must have "include recent activity stories" migration enabled in app retrieve these stories

or may try fql's stream this

select message stream source_id=me() , type in (46,56,80,56,128,247) , filter_key in (select filter_key stream_filter uid=me()) 

which might reduce posts 1 desire.

update

you might not require reduce result using type field verified 林果皞 , query reduces

select message stream source_id=me() , filter_key in (select filter_key stream_filter uid=me()) 

Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -