Search code examples
facebookfacebook-graph-apifacebook-php-sdkfacebook-winjs-sdk

How to add Place to Video Uploaded via PHP SDK?


I want to add Place to videos, Videos Are Uploaded by PHP SDK

How can I do This ?

'Place'=>'place id'; This Code work for Photos But Dont Work for Videos


Solution

  • As far as I know (and the docs at https://developers.facebook.com/docs/graph-api/reference/video/ say the same), it isn't possible to add a Place with a Video at all.

    You could create a separate Post after the upload, and add the Video object_id as well as the Place id accordingly. See the docs for Posts here: https://developers.facebook.com/docs/graph-api/reference/post/