Facebook Provider
The Facebook provider monitors pages on Facebook.The user needs to be authenticated with Facebook for Squirro to be able to fetch items. This connection can be done in the user profile.
Provider name | |
---|---|
Type | Polling provider |
Table of Contents
Configuration
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". |
Configuration Example
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'})
Item Format
No special keywords are added to items created by this provider.
Licensing
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.