\"fbaccesstoken\", \"message\" => \"wall post\"}" />
开发者

How do I post a feed with the facebook graph API that is only visible to a friend's geographical region?

Hey guys I am using the facebook graph api to post to a user's wall.

post_params = {"access_token" => "fbaccesstoken", "message" => "wall post"}

url = https://graph.facebook.com/me/feed

Are there any parameters I can include in my post payload开发者_StackOverflow社区 that specify the wall post to be shown only to friends in a specified region? (i.e I only want my San Francisco friends to see this post)


Currently, you cannot restrict posts to a geographical region. But you can simulate this behavior via the privacy parameter, if you have all your San Francisco friends on the same list, for example. See the posts connection on the User object and the privacy parameter on the Post object for more information.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜