Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Objects & Facebook SDK
11-17-2013, 06:04 PM #1
- Join Date
- Nov 2013
- Thanked 0 Times in 0 Posts
Objects & Facebook SDK
So the user goes onto the site, Facebook asks for the permissions, and then I fetch the users name and unique ID and other data.
I want to be able to create a USERS object, that stores all the users, and each user is an object itself. But I want to be able to identify each 'user' object, by their Unique ID (as their name is ambiguous). I then want to pass a variable and store it in that user object. The user object has only 3 variables, their unique ID, their name, and the ID of the song they are currently listening to (the variable I want to pass).
How exactly would I go about this?
I have no code to paste as I haven't created it yet, still wanting to find more help on the subject. I don't mind posting the entire script I am using though if it helps.