Generating social media API keys
When creating a social media collection, the
custom_gather.groovy script will require specific API keys in order to update the collection with the data from the social media. Depending on which template chosen when the collection was created, use the information below to obtain the correct keys.
Note that this information may get outdated as social media platforms evolve. Retrieving API keys for social media platforms is usually well documented on the social media platform developer website, so it may be useful to refer to it. It is also usually documented by third-parties in blog posts or tutorial that may be worth looking up.
See the Facebook page access token article details on how to generate a Facebook token.
The following keys are required and can be obtained from https://apps.twitter.com/. The client will need to login to their Twitter account and create an App. They should go to key and access tokens and provide:
OAUTH consumer key
Access token secret
Visit https://dev.twitter.com/apps/new to create a new app and retrieve these values.
The following keys are required and can be obtained from [https://console.developers.google.com/project](https://console.developers.google.com/project). The client will need to login in their google account associated with YouTube and go to credentials. They should create a new credential and provide:
Visit https://developers.google.com/youtube/registering_an_application#Create_API_Keys to learn how to retrieve a YouTube API key.
Visit https://support.google.com/youtube/answer/3250431?hl=en to learn how to retrieve your channel identifier.
An 'App' must be created within the Facebook developer portal. The first three steps in the get started guide should be followed to set up your Instagram app (Create a Facebook app, configure Instagram basic display, add an Instagram test user).
Note that Instagram may be added as a platform on an existing Facebook app if you already have one (it does not strictly need to be its own app). Rate limits are shared across apps when using a user access token.
Use the user token generator to generate a user access token.