Hellow guys am new to facebook app development.I am trying to develop an application which generates an images when a user gives the app a permission to his/her profile.I have serached many times but i didnt get any useful information.
I have came across gd library too but i didnt get how to use gd library in generating images with facebook statistics like no of messages,profile pic images etc .
I have seen a lot of apps like this ..I can show you what i mean .Just look the link below to see the image ..
http://s30.postimg.org/a37uy9qzl/554327_429089617163509_20686672_n.jpg
and yeah this is the same thing i want to do .i want to make an app which generates a background image and in that background image i want to add some text and display the profile picture who use the app and the other is the any person from the friend list
<?php
require'facebook.php';
$app_id = "606714542734115";
$app_secret = "3501a1caf56a888b02d8f2d7301337ec";
$post_login_url = "https://apps.facebook.com/bestfriendzzz
$album_name = 'BEST FRIENDS';
$album_description = 'A COOL APPLICATION FOR FINDING YOUR BEST FRIEND';
$attachment= array('message' => "message",
'name' => 'name',
'caption' => "caption",
'link' => 'some URL address',
'picture' => {
"error": {
"message": "(#803) Some of the aliases you requested do not exist: PROFILE_ID_NUMBER",
"type": "OAuthException",
"code": 803
}
});
$headers = get_headers("https://graph.facebook.com/$fbid/picture?type=large");
$image_loc = $headers[5];
?>
This is just a code sample that i have done .I am stuck with this .Please guide me how to do this.Code samples are appreciated and thanks in advance .:)