Suggested Shares
Overview
Reply Pro sends suggested Facebook shares for really positive reviews. Users can take two actions:
- Accept: Reply Pro will post the exact the text of the suggestion as a public post associated to the review
- Deny: Users chooses to ignore suggestion
Setup
Suggested sharing requires each business to be connected to their appropriate sources and subscribed to the suggestion service. If these two requirements are not met, there will be no suggestions to GET.
Using Get
Use this URL to request all suggested shares for a specified business. This will return every suggested share the business has ever received - in paginated form.
https://ad1.replypro.io/api/public/accounts/<account_id>/companies/<company_id>/businesses/<business_id>/suggested_actions
An example of a GET request for suggested shares can be seen below.
https://ad1.replypro.io/api/public/accounts/<account_id>/companies/<company_id>/businesses/<business_id>/suggested_actions?action_type=S
Example of returned data:
{
"results": [
{
"review": 12354,
"id": 100,
"action_type": "S",
"original_content": "Had a great time at this restauraunt. Wonderful atmosphere and staff!"
]
}
{
"results": [
{
"review": 12354,
"id": 100,
"action_type": "S",
"original_content": "Had a great time at this restauraunt. Wonderful atmosphere and staff!",
"image_url": "https://replypro.io/wp-content/uploads/2017/08/google-all-24-1.jpg",
"image_link": "https://goo.gl/RYnbu8"
}
]
}
Using PUT
{
"status": "A"
}
{
"status": "D"
}
Example of returned data for accepts, edits, and denies:
{
"results": [
{
"content": "",
"data_source": "1",
"date": "2017-11-02",
"id": "895647",
"permalink": "https://www.google.com/maps/contrib/103815917515548406044/place/ChIJPzzxsrWqr1QRJx0Tm0bnFV0",
"flagged": false,
"rating": "5",
"responses": [
{
"content": "Thanks Breean!",
"date": "2017-11-02",
"id": "903218"
}
],
"reviewer_name": "Breean Mckinney"
}
]
}
{
"message": "Suggestion denied successfully."
}
Updated almost 7 years ago
What’s Next