Open rigalpatel001 opened 4 years ago
Same problem for me. Some update?
Hi @rigalpatel001
All you have to do is to chance the last line in the code you supplied. To post photos you need to remove feed & replace it with photos
$postmovie = $fb->sendRequest('POST', "$pageId/photos",$attachment);
Hope this help!
am trying to post on Facebook page using PHP facebook SDK. post with link and message is working fine but "Images, thumnail " not working getting below error.
" Uncaught Facebook\Exceptions\FacebookAuthenticationException: (#100) Only owners of the URL have the ability to specify the picture, name, thumbnail or description params"
I have added app domain and select website platform and add URL.
I have also done domain verification .
Above code is working fine new post is created on Facebook page.but when I add picture and thumnail in parameter its not working.
Anyone please suggest possible solution to fix these issue?
Thanks