当您向 Facebook 发布定期状态更新时,它会跟踪您当前的位置并在时间旁边提供(附近的)城市。即:5月24日附近纽约州纽约市。请注意,这是not办理登机手续。
我正在尝试做同样的事情,而不搜索页面(地点)id 和签入。
我尝试过发布坐标与纬度和经度,但不显示附近的城市。
https://graph.facebook.com/me/feed
message=test
coordinates={"latitude": 37.4163458217, "longitude": -122.15198690595}
请检查这个网址https://developers.facebook.com/docs/reference/api/status/
您必须将坐标作为名为 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)
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)