For developers building video apps, Facebook provides a common Open Graph
This action and associated object types are automatically added to the App Dashboard when you use the action for the first time.
This document covers the following topics:
You cannot publish two
rate actions on the same person-video pair. If you need to add parameters to the same action, you should update the original action that you published.
This is an example code to publish a Rate action:
curl -F 'access_token=YOUR_TOKEN' \ -F 'movie=https://www.example.com/movie_123.html' \ -F 'rating:value=4.5' \ -F 'rating:scale=5' \ -F 'review_text=This movie combines a great performance by actor...' \ 'https://graph.facebook.com/me/video.rates'
Submissions for a custom Rate action are not be accepted. If your app publishes actions on a person's behalf as they interact with content on your site, such as rating a video, you must use a common action. If your object isn't of type
tv_episode, you should use the general-purpose common
video object type.