Facebook graph api how to upload a large event picture -
i'm uploading images events using php sdk with:
if ($filename = uploadimage('picture')) // returns full server path picture { $facebook->setfileuploadsupport(true); $eventinfo = array( 'picture' => '@' . $filename, 'access_token' => $access_token); $result = $facebook->api('/' . $event_id . '/', 'post', $eventinfo); } `
however creates thumbnail image, how can set image main large event picture?
Comments
Post a Comment