| Please note: We are in the process of deprecating the REST API, and have added equivalent support to the Graph API for this method. You can now issue a HTTP GET request to /USER_ID/likes/PAGE_ID to check if a user is a page of a fan. |
Checks whether a user is a fan of a given Page. Doesn't work for Application about Pages.
Note: This call no longer requires a session key. You must pass a user ID if you don't pass a session key. If the user's pages are set to less than everyone privacy, you must ask the user for the user_likes extended permission and include a valid user access token in the API call.
| Name | Type | Description |
|---|---|---|
| page_id | int | The ID of the page. |
| callback | string | Wrap the response inside a function call. This is primarily to enable cross-domain javascript requests using the <script> tag, sometimes known as "JSONP". This works with both XML and JSON. |
| uid | int | The ID of the user. Defaults to the logged-in user if not set. If you don't pass a session key, you must pass a uid. |
Returns 1 or 0.