This function returns the unique Facebook user id.


GML Code Example


Returns: String


With this function you can poll Facebook for the user id of the currently logged in user. This will be returned as a string, with a format similar to "07778915123" which can then be used with the other Facebook functions.

NOTE: The user must be logged in to get the ID.


GML Code Example

fb_id = facebook_user_id();

The above code gets the user ID of the currently logged in user and stores it as a string in the variable "fb_id".

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here