Facebook Cover Photo API using PHP

facebook, facebook-graph-api, php

Solution

Actually, it is not possible to change the profile picture directly via Facebook Photo Graph API as no section mention about that.

However, we can do a trick by uploading user’s photo to Facebook via the API then redirect the user to uploaded photo URL with 1 added in querystring parameter as below:

http://www.facebook.com/photo.php?pid=xyz&id=abc&makeprofile=1

“&makeprofile=1″ is the main thing here and xyz/abc will be returned by Facebook. By adding the parameter, Facebook will auto change the profile picture of the current user with the uploaded picture above.

For more info: http://4rapiddev.com/facebook-graph-api/php-change-facebook-profile-picture-with-graph-api/

Problem

Has Facebook released any api for facebook cover photo? I want to implement it using PHP language. EDIT I want to upload cover photo in facebook timeline using graph api PHP

Original source