如何使用facebook api连接获取用户国名? [英] How do i get user country Name using facebook api connect?

查看:67
本文介绍了如何使用facebook api连接获取用户国名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个Facebook应用程序。我必须使用图形API知道登录用户的国家。

解决方案

您可以通过FQL查询用户表。
您要查找的列是current_location。



http://developers.facebook.com/docs/reference/fql/user/



您可以使用FQL图表api:

  https://api.facebook.com/method/fql.query?query=QUERY 


I am developing a facebook application. I have to know the country of the logged in user using the graph API.

解决方案

You can query the user table through FQL. The column you are looking for is current_location.

http://developers.facebook.com/docs/reference/fql/user/

You can use FQL through the graph api:

https://api.facebook.com/method/fql.query?query=QUERY

这篇关于如何使用facebook api连接获取用户国名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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