Question

I am using Marmalade with C++ and I need to get the Facebook user name, picture, and email and all I have is its Facebook user ID.

I am using this example and it all worked until now but I need a way to at least search or somehow get what I need because I really don't know what to do.

http://api.madewithmarmalade.com/ExampleS3EFacebook.html

Is there a way I'm not seeing to get the user name and picture or do I need some other class and Facebook stuff to do that?

Was it helpful?

Solution

I don't know the marmalade framework, but what I know is that you can't get the email address from the user if you don't have a user access token with an enable user_email permission.

I guess you could use the s3eFBRequest_WithGraphPath method (http://api.madewithmarmalade.com/group__facebookapigroup.html#gaca80d12f6a25a19619b222af6bc3d290) to pass the following path:

/{user_id}?fields=name,picture

where {user_id} is your user_id.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top