Facebook php sdk photo upload success but page album does not show image -


i trying upload page album photos using facebook php sdk. seems work there no error response. cant see picture inside page album? can me clarify how upload album? config file :

  return array(         'appid' => 'foo',         'secret' => 'bar',         'fileupload' => true,         'allowsignedrequest' => true // optional should set false non-canvas apps     ); 

and code while try send file :

            $facebook = new facebook(config::get('facebook'));             #the id of fanpage             $fanpage = '1404264166489378';             #the id of album               $message = 'fotoğraf başarı ile yüklendi';             $album_id = "1404677233114738";              $facebook->api($album_id.'/photos','post',[                  'photo' => new curlfile($path.$filename,'image/jpeg'),                 'message' => $message                 ]); 


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -