android - Posting with DENY privacy not working (And how to save privacy) -
my android app posts status deny
privacy friends (who cannot see), it's not working. here's graph api call:
post me/feed?message=this message &privacy='value':'custom','deny':'friend_1_id,friend2_id'}`
however, it's working allow
privacy this:
post me/feed?message=this message &privacy='value':'custom','allow':'friend_1_id,friend2_id'}
how can deny achieve goal without using allow?
(important) how can setting custom privacy user's facebook?
because want facebook app keep privacy (user not need change setting again when using original facebook app).
note: app works facebook sdk 3.8
how can `deny` achieve goal without using `allow`
according facebook developers [src]: by design. when use custom
privacy, should specify allow
field, or default you'll only person able view post.
so instead of:
post me/feed?message=test&privacy={'value':'custom','deny':'[friend_id]'}
you should do:
post me/feed?message=test&privacy={'value':'custom', 'deny':'[friend_id]', 'allow':'all_friends'}
(important) how can setting custom privacy user's facebook?
you cannot ever set part of user settings, graph api. strictly not allowed facebook.
Comments
Post a Comment