In Progress

modification to facebook app

Profile Banner Creator app on facebook

I have an app which creates Profile Banners by uploading and tagging photos on user's profile. However, at the same time, it creates an unwanted posts on user's profile. Posts like:

"User" was tagged in his own album.

and

"User" added new photos to the album Profile Banner

Creator photos.

I need to prevent my app to do that? I only need to create a photo banner but not the posts.

I use the following code to create a banner:

$picID = (isset($_REQUEST['picID'])) ? $_REQUEST['picID'] : '';

if ($picID != '') {

$error = '';

try {

for ($i=4; $i >= 0; $i--) {

$choppedImageFile =

'template/chopped/'.$picID.'_'.$i.".jpg";

$attachement = array('message' => $descText, 'source' =>

'@'.realpath($choppedImageFile), 'access_token' =>

$fbme['access_token']);

$fb_photo =

$facebook->api('me/photos','POST',$attachement);

$FQLQuery = 'SELECT object_id, pid, src_big, link FROM

photo WHERE object_id = '.$fb_photo['id'];

$FQLResult = $facebook-api(array( 'method' => '[url removed, login to view]',

'query' => $FQLQuery, 'access_token'=>$fbme['access_token'] ));

$targetPhoto = $FQLResult[0];

$tag =

$facebook-api(array('method'=>'[url removed, login to view]','access_token'=>$fbme['access_token'],

'pid'=>$targetPhoto['pid'],'tag_uid'=>$fbme['id'],'x'=>'50','y'=>'50'));

}

//addPostRecord($picID);

} catch (FacebookApiException $e) {

$error = $e;

}

} else {

$error = 'Invalid banner selected.';

}

Please give me a quote for this modification

Leon

Skills: Facebook Marketing, PHP

See more: tag profile, array template, fql, id creator, create my own app, php facebook, photo modification, leon, facebook fql query, facebook banner, facebook api, create a facebook banner and profile, attachement, App API, api app, profile photos facebook, invalid tag, php post array, app photo facebook, posts facebook api, post app facebook, facebook create app, facebook profile link, tag photo facebook code, code tag facebook

About the Employer:
( 6 reviews ) Pompano Beach, Canada

Project ID: #1260746

Awarded to:

Karsticum

I can start right now and have it completed in an hour or two. Please check PM for details.

$40 USD in 0 days
(26 Reviews)
4.3

3 freelancers are bidding on average $130 for this job

techyash

facebook/php experienced

$250 USD in 2 days
(2 Reviews)
2.8
barzellatore

I have the skills to help her solve her problem in the pre stability on time, and with a high quality

$100 USD in 1 day
(0 Reviews)
0.0