How to Get ID, Name, Pict.profile ETC for my game

Get help using Construct 2

Post » Fri Apr 26, 2013 8:57 am

hi...
i confused to use facebook plugin..anyone can help me how to get data like id, name and profile pict from user...


HELP
B
7
S
2
G
3
Posts: 13
Reputation: 2,266

Post » Fri Apr 26, 2013 11:58 am

To get a name, simply use facebook.UserID expression.


Other step, to get a picture...


According to
https://developers.facebook.com/docs/reference/api/using-pictures/


So this explains how to use API to get data, actually using facebook plugin it comes expression.


Make an event how you want to appear the facebook picture, then

Make an action

Load sprite URL:
"https://graph.facebook.com/"&facebook.UserID&"/picture"


I hope it helps youJoannesalfa2013-04-26 11:58:42
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Fri Apr 26, 2013 3:04 pm

im appreciate for Joannesalfa. ur answer help me.
am a newbie..can you show me or any project file that can i read so i have understand by learn a sample. thanks
B
7
S
2
G
3
Posts: 13
Reputation: 2,266

Post » Fri Apr 26, 2013 3:54 pm

once again, thank for Joannesalfa, i read ur replies again and again..now i know what u explained. im so confused about expressions, now i find the panel of object expression...hahahaha
B
7
S
2
G
3
Posts: 13
Reputation: 2,266


Return to How do I....?

Who is online

Users browsing this forum: kamens503, Yahoo [Bot] and 23 guests