GET api/Facebook/GetPagePostReactions/{postID}/{accessToken}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| postID | string |
Required |
|
| accessToken | string |
Required |
Body Parameters
None.
Response Information
Resource Description
FacebookReactionsDataModel| Name | Description | Type | Additional information |
|---|---|---|---|
| love | Love |
None. |
|
| like | Like |
None. |
|
| wow | Wow |
None. |
|
| haha | Haha |
None. |
|
| angry | Angry |
None. |
|
| sad | Sad |
None. |
|
| total | TotalReactions |
None. |
|
| id | string |
None. |
|
| permalink_url | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"love": {
"data": [
{},
{}
],
"summary": {
"total_count": 1
}
},
"like": {
"data": [
{},
{}
],
"summary": {
"total_count": 1
}
},
"wow": {
"data": [
{},
{}
],
"summary": {
"total_count": 1
}
},
"haha": {
"data": [
{},
{}
],
"summary": {
"total_count": 1
}
},
"angry": {
"data": [
{},
{}
],
"summary": {
"total_count": 1
}
},
"sad": {
"data": [
{},
{}
],
"summary": {
"total_count": 1
}
},
"total": {
"data": [
{},
{}
],
"summary": {
"total_count": 1
}
},
"id": "sample string 1",
"permalink_url": "sample string 2"
}
text/html
Sample:
{"love":{"data":[{},{}],"summary":{"total_count":1}},"like":{"data":[{},{}],"summary":{"total_count":1}},"wow":{"data":[{},{}],"summary":{"total_count":1}},"haha":{"data":[{},{}],"summary":{"total_count":1}},"angry":{"data":[{},{}],"summary":{"total_count":1}},"sad":{"data":[{},{}],"summary":{"total_count":1}},"total":{"data":[{},{}],"summary":{"total_count":1}},"id":"sample string 1","permalink_url":"sample string 2"}
application/xml, text/xml
Sample:
<FacebookReactionsDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JDSupraAPI.Models">
<angry>
<data>
<ReactionDatum />
<ReactionDatum />
</data>
<summary>
<total_count>1</total_count>
</summary>
</angry>
<haha>
<data>
<ReactionDatum />
<ReactionDatum />
</data>
<summary>
<total_count>1</total_count>
</summary>
</haha>
<id>sample string 1</id>
<like>
<data>
<ReactionDatum />
<ReactionDatum />
</data>
<summary>
<total_count>1</total_count>
</summary>
</like>
<love>
<data>
<ReactionDatum />
<ReactionDatum />
</data>
<summary>
<total_count>1</total_count>
</summary>
</love>
<permalink_url>sample string 2</permalink_url>
<sad>
<data>
<ReactionDatum />
<ReactionDatum />
</data>
<summary>
<total_count>1</total_count>
</summary>
</sad>
<total>
<data>
<ReactionDatum />
<ReactionDatum />
</data>
<summary>
<total_count>1</total_count>
</summary>
</total>
<wow>
<data>
<ReactionDatum />
<ReactionDatum />
</data>
<summary>
<total_count>1</total_count>
</summary>
</wow>
</FacebookReactionsDataModel>