I would like to display the users profile picture inside of my applications canvas page, is there a way to do that using the graph api?
I know I can do it using FBML
Here is the code that worked for me!
Assuming that you have a valid session going,
//Get the current users id $uid = $facebook->getUser(); //create the url $profile_pic = "http://graph.facebook.com/".$uid."/picture"; //echo the image out echo "";
Thanx goes to Raine, you da man!