开发者

How I can get logged in user's info like email id,name,city etc. in Facebook with uId

Can any one help me to get logged in user's info like email id,name,city etc. wi开发者_Go百科th the help of Facebook uId . " Long uid = apiClient.getLoggedInUser ();" Users_getInfo is not useful. It returns No of users connected to _User & according that there info gets.

If user login successfully using fb connect, Facebook gives us uid. However, I need to match the logged in user with our member's account If that member is not present in DB then want to register him and I'm trying to do that with e-mail(hashed) address and other info. Is there any solution?


https://developers.facebook.com/docs/reference/rest/users.getInfo/ this function gives you some of the information of user. Like uid first_name middle_name last_name name locale current_location affiliations (regional type only) pic_square profile_url sex

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜