Forum Moderators: coopster

Message Too Old, No Replies

Facebook API - How to read my UID

         

paul_owen

11:29 pm on Sep 10, 2010 (gmt 0)

10+ Year Member



How do I read my UID on Facebook using their API in PHP?

By this I mean the UID (integer) of the user that is currently using an applicaiton they we are developing. Our application needs to know this UID.

Thanks,
Paul.

coopster

10:01 am on Oct 5, 2010 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Did you locate the information in the FB API docs [developers.facebook.com]?

paul_owen

6:34 pm on Oct 5, 2010 (gmt 0)

10+ Year Member



No. The "documentation" is terrible. It looks like something a script-kiddie wrote.

We ended up dropping Facebook integration from the project.

omoutop

7:52 am on Oct 6, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



i dont think you can read any uid in your webpage, not until a user interacts with something (click), and then, you can get only his id.

what exactly are you trying to do?