How do i retrieve the url of an image uploaded via Facebook's graph api -


i've uploaded image user's album using following code:

    $ch = curl_init();     $url = 'https://graph.facebook.com/'.$uid.'/photos?access_token='.$token;     curl_setopt($ch, curlopt_url, $url);     curl_setopt($ch, curlopt_header, false);     curl_setopt($ch, curlopt_returntransfer, true);     curl_setopt($ch, curlopt_post, true);     curl_setopt($ch, curlopt_postfields, $args);     $data = curl_exec($ch); 

can tell me how retrieve public link image?

i have more experience fql however, looks might work:

https://graph.facebook.com/me/picture

documentation under "connections"

http://developers.facebook.com/docs/reference/api/user

if choose use fql:

http://developers.facebook.com/docs/reference/fql/

http://developers.facebook.com/docs/reference/fql/profile


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -