views:

198

answers:

0

$has_permission = $facebook->api_client->users_hasAppPermission("photo_upload");

if($has_permission and $_GET[pub]){ $response_array = $facebook->api_client->photos_upload("temp/".$user_id.".jpg", "", "Created with http://apps.facebook.com/mshantest/", $user_id);

}

im trying to upload photo in my app using this code but it doesnt working...I asked this from a developer but he told me that somthing changed in FB APIs so if you know the correct method please correct the code above

Thanks

related questions