开发者

How to invite people not on your application from Facebook(android sdk)

开发者 https://www.devze.com 2023-01-07 18:41 出处:网络
I 开发者_开发百科was wondering if there was a way to see who is or isn\'t using your application on Facebook. For example, sets say I have an application X that a user Y has just connected to. I want

I 开发者_开发百科was wondering if there was a way to see who is or isn't using your application on Facebook. For example, sets say I have an application X that a user Y has just connected to. I want to find out if Y's friend Z has allowed X or not.

Then, if friend Z has not allowed/used X with Facebook before -- I want to invite that friend to use X.

Is there any way to do this using the GraphAPI and the Facebook-android-sdk?

Thanks in advance,

hwrd


There is a way to do this -- however Facebook Query Language(FQL) needs to be used.

The query is

SELECT uid FROM user WHERE has_added_app = 1 AND uid IN (SELECT uid2 FROM friend WHERE uid1 = $user

0

精彩评论

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

关注公众号