objective c - Facebook SDK for iOS - Questions about ID's -


just beginning work facebook sdk ios, , have few questions. can display list of friends, using code found here: facebook ios sdk - friends list. see each freind has id, , have following questions:

  1. if signed fb account a, , see friend b has id 123, if sign fb account c, friend b still have id of 123?
  2. assuming answer question 1 yes, lead me believe each account has unique id. if so, how find current fb account's id shown other friends?

all user ids unique , not change (and public information).

if want find out id of current user that's logged in, make graph request "/me", or use method:

https://developers.facebook.com/docs/reference/ios/3.5/class/fbrequestconnection#startformewithcompletionhandler%3a

and "id" property in result.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -