开发者

Howto: Get ALL nearby places

The Situation

I want to rebuild some parts of the FB place checking into my own application.

The Challenge 1

How to get all nearby places? Facebook wants to have a quer开发者_开发百科y to look. But I want ALL nearby places.

Could this be a workaround?

        $places = $this->facebook->search( 'place', '%%', array('center'=>'53.559562, 9.964266', 'distance'=>'10000' ,'access_token' => $access_token));


Seems like you can just omit the query field if using the Graph API with: https://graph.facebook.com/search?q=pizza&type=place&center=lat,long&distance=1000

without: https://graph.facebook.com/search?type=place&center=lat,long&distance=1000

you can just leave it out entirely.

with specific number of results: https://graph.facebook.com/search?type=place&center=lat,long&distance=1000&limit=100

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜