Facebook graph api搜索结果取决于位置? [英] Facebook graph api search results depends on location?

查看:21
本文介绍了Facebook graph api搜索结果取决于位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用 Graph search API 获取结果,但我注意到在我的计算机(阿根廷)中执行的结果与我在服务器(法国)中运行的结果不同.

I've tried to fetch results using Graph search API and I've notice that the results when executed in my computer (Argentina) are different from the results when I run it in a server (France).

是这样的吗?如何强制搜索位置?

Is this like this? How can I force a location for a search?

推荐答案

感谢@Sascha Galley.我还找到了另一种简单的方法.

Thanks @Sascha Galley. I also find another easy way.

只需在 Facebook Graph search API 查询 URL 中添加 &locale=en_US.

Just add &locale=en_US in Facebook Graph search API query URL.

这是语言和区域列表参考

这篇关于Facebook graph api搜索结果取决于位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆