facebookarchive / php-graph-sdk

The Facebook SDK for PHP provides a native interface to the Graph API and Facebook Login. https://developers.facebook.com/docs/php
Other
3.17k stars 1.95k forks source link

How to upload multiple photos in a single facebook post #1155

Closed Chamberlainfrancis closed 3 years ago

Chamberlainfrancis commented 4 years ago

I am trying to upload multiple photos in a single facebook post from my website using the PHP sdk version 4.0, I don't know if i can get any help from here on how to do it as I only know how to upload a single photo post, I have searched the entire Google for answers yet nothing, thanks in advance for the help.

fd6130 commented 4 years ago

I just know page photos, but i believe the concept is almost the same.

You can upload as single unpublished photo, get their return id and make a post request to /feed

doc: https://developers.facebook.com/docs/graph-api/reference/page/photos/#multi

kada-zaouak commented 3 years ago

hello

hassan22k commented 3 years ago

Hii

Le mer. 21 avr. 2021 à 01:25, kada @.***> a écrit :

hello

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/facebookarchive/php-graph-sdk/issues/1155#issuecomment-823689501, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASU2UYL43DOTLCYNDHXG5TLTJYLQ7ANCNFSM4IXRWKIA .