The Facebook provider monitors pages on Facebook. |
Provider name | |
---|---|
Type | Polling provider |
Field | Description |
---|---|
page | The ID of the page / user to monitor. This can be retrieved from a Facebook URL, for example https://www.facebook.com/squirro translates to a page parameter of "squirro". |
This is an example configuration for monitoring Squirro's Facebook page for updates.
{ "page": "squirro" } |
Using the Python SDK a subscription for this could be created with the following code snippet:
client = SquirroClient(None, None, cluster='https://next.squirro.net/') client.authenticate(refresh_token='293d…a13b') client.new_subscription(project_id, object_id='default', provider='facebook', config={'page': 'squirro'}) |
No special keywords are added to items created by this provider.
For a new deployment a Facebook API token needs to be created by Facebook and configured in Squirro. Facebook doesn't charge for this API access but limits the usage with quotas.