Facebook graph api 使用位置更新Post状态

Facebook graph api 使用位置更新Post状态,facebook-graph-api,location,coordinates,latitude-longitude,Facebook Graph Api,Location,Coordinates,Latitude Longitude,当你定期向Facebook发布状态更新时,它会跟踪你的当前位置,并给出时间旁边的(附近)城市。即:5月24日,纽约市附近。请注意,这不是签入 我正在尝试做同样的事情,不需要搜索页面(位置)id和签入。 我已经试着发布了,但是没有显示附近的城市 https://graph.facebook.com/me/feed message=test coordinates={"latitude": 37.4163458217, "longitude": -122.15198690595} 请检查此url

当你定期向Facebook发布状态更新时,它会跟踪你的当前位置,并给出时间旁边的(附近)城市。即:5月24日,纽约市附近。请注意,这不是签入

我正在尝试做同样的事情,不需要搜索页面(位置)id和签入。 我已经试着发布了,但是没有显示附近的城市

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

message=test
coordinates={"latitude": 37.4163458217, "longitude": -122.15198690595}
请检查此url

您必须将坐标作为一个名为place的对象传递,这将包含有关place的详细信息,以及有关place对象的更多详细信息

object containing id and name of Page associated with this location, and a location field containing geographic information such as latitude, longitude, country, and other fields (fields will vary based on geography and availability of information)

我意识到这是一个老问题,但只是为了确认,通过应用程序发布只能让您使用地点ID标记地点。
请查看这些相关帖子-



谢谢你的回复,拉奎布尔!但是我没有让它工作,我已经这样尝试过了(作为PHP数组):
array(“message”=>“My message”,“place”=>array(“location”=>array(“latitude”=>40.714353,“longitude”=>-74.005973,“country”=>“US”))它给出了一个错误,但没有具体说明。文档在这一部分确实失败了,没有例子,什么都没有。。。