User ID

From Facebook Developer Wiki

Revision as of 00:34, 27 October 2009 by Pete Bratach (Talk | contribs)
Jump to: navigation, search

The user ID is a 64-bit int datatype. If you're storing it in a MySQL database, use the BIGINT unsigned datatype. For Facebook Connect for iPhone, format the user ID as a long long.

Any time an FBML tag requires a Facebook user ID, you can use the string loggedinuser (on canvas pages) or profileowner (on user profiles) to substitute the IDs of those users.

If you are using fb:pronoun, you can substitute actor for the user ID so you can more easily aggregate feed stories.

reference