/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$token = $session['access_token']; //upload photo $file= 'photo.jpg'; 'message' => 'Photo from application', ); $url = 'https://graph.facebook.com/me/photos?access_token='.$token;