Facebook Graph API - how to get user country?

后端 未结 10 1652
心在旅途
心在旅途 2020-11-30 02:56

I\'m developing a Facebook application using their Graph API. I have previously developed an app using the deprecated REST API.

I\'ve come across a problem in that

10条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-30 03:18

    for iframe apps, then ip is not hidden by FB servers, meaning you can do ip address lookup

    http://phpweby.com/software/ip2country

    the script was a bit buggy for me but did the job.

提交回复
热议问题