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.
精彩评论