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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -