Is there a quick way using the graph api to determine if a video has been boosted (paid advertising)? I currently have an App which is used to automatically crosspost videos, but I run into an issue where FB doesn’t allow you to continue crossposting the video once the video has been boosted. It’s locking out the ability to edit the video. I kind of see this as a bug but that’s not what I’m after here. I can account for this if I can determine if the video has been boosted, but I’m not seeing an easy way to determine this. Maybe through insights and see if there are paid views? Or maybe through the Marketing API? Is there a flag or something that tells me this info on the video itself?
Question posted in Facebook API
The official documentation for the Facebook APIs can be found here.
The official documentation for the Facebook APIs can be found here.
2
Answers
So I went tried a number of solutions by looking at video insights, post promotion_status and none of them accurately matched how FB is determining the video is boosted and locked from being edited.
The solution I came up with is to making a pointless update to the video. If the graph api fails to update the video and returns an error subcode of 1363005 (API v5.0), the video is Locked out from being edited and you can no longer crosspost this video.
You can use the Graph API Post and check for the
promotion_status
field:You can retrieve the same field also on the page Feed API
Hope this help