Tag Archive

How to get userids of Facebook friends from Friend Selector dialog box

Published on August 16, 2011 By Admin

Recently I was developing a Facebook app for a client which requires to invite user friends. For this I used the FB.ui apprequests method. I also need to get the user ids of Facebook friends the user has invited. My initial approach was to print the response of the apprequests method, but it gave undefined object error. Here is what I tried initially and that didn’t return the userids.