开发者

Facebook Places Integration

开发者 https://www.devze.com 2023-02-22 16:06 出处:网络
I\'m trying to integrate Fb places with my Iph开发者_Go百科one app, sending the coordinates in the header of this request : https://graph.facebook.com/me/checkins. But I\'m getting a blank response da

I'm trying to integrate Fb places with my Iph开发者_Go百科one app, sending the coordinates in the header of this request : https://graph.facebook.com/me/checkins. But I'm getting a blank response data. What might be the problem? is there any tutorial for this?


If you just want to pull the places you've checked into, you don't send the longitude and latitude.

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

To get a list of nearby places the user can check into:

https://graph.facebook.com/search?type=place&center=<latitude>,<longitude>&distance=1000

Your POST to check in somewhere must include an id from one of the places returned.

Full docs at:

https://developers.facebook.com/docs/reference/api/checkin/

0

精彩评论

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