\"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?

开发者 https://www.devze.com 2023-04-03 08:41 出处:网络
Hey guys I am using the facebook graph api to post to a user\'s wall. post_params = {\"access_token\" => \"fbaccesstoken\", \"message\" => \"wall post\"}

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

精彩评论

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