For developers building book apps, Facebook provides a common
books.rates action. This action signals that a person is rating a book.
This action can only refer to the common
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 can find platform-specific code samples on how to create, read, update, or delete a
books.rates action in the API Reference Guide.
If you need to add parameters to the same action, for example, when a person first rates a book and later adds a review, you should update the original action that you published.
This is an example code to publish a Rate action with a review:
curl -F 'access_token=YOUR_TOKEN' \ -F 'book=https://www.example.com/book_123.html' \ -F 'rating:value=4.5' \ -F 'rating:scale=5' \ -F 'review_text=This book made me laugh and cry...' \ 'https://graph.facebook.com/me/books.rates'
Custom read, rate, or review actions connected with book objects are no longer accepted. Please use the standard actions.
When submitting these actions, please remember to keep in mind the following:
Find more information on the submission process here