Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagehtml/xml
titleSample Request for createLike
{
"apiUrl":"https://graph.facebook.com",
"apiVersion":"v2.4",
"accessToken":"CAAD8biEgxBIBAOt0XA4FdFFQXg8hzVtYHdrDpeeRa1nHmCylWoOiFmZAWmDYMXnZCZC2akkuIsIM2tEXZBZC1JbhFFZAqRZBRKKvTZCfnhSpojHW0BG3nVKBOGYJCKEcNT7T6onY2poZBrZBZB0FtgZB89ZCSr2THH48eZC5xcNcTjU0QxKZAjJj8cQjebmzm8883RhbErPEF5OcLUpdwZDZD",
"resourceId":"1402049403394184"
} 

Anchor

...

getLikes

...

getLikes
Get likes

This method allows you to get likes for an object such as video, posts, status, note, photo, album and comment.

Code Block
languagehtml/xml
titlecreateLike
<facebook.getLikes>
	<resourceId>{$ctx:resourceId}</resourceId>
	<summary>{$ctx:summary}</summary>
</facebook.getLikes>
Properties
  • resourceId:

    This

    is

    the

    ID

    of

    the

    resource.

    resource.

  • fields: Fields to retrieve(total count).

  • summary: Set true, to retrieve total count.

Anchor
request
request
Sample request

...