{% extends 'base.html' %} {% load crispy_forms_tags %} {% block title %} Add {{ request.path|slice:"16:-8"|title }} Credential {% endblock %} {% block content_header %}

Add {{ request.path|slice:"16:-8"|title }} Credential

{% endblock %} {% block content %}
{% crispy form %}
{% if 'Twitter2' in request.path|title %}

You must have a Twitter account, apply for a Twitter Developer Account, create an App, and if relevant, apply for access to the Academic Reseach APIs. Steps 0-4 in the documentation for Twarc (a tool SFM uses to connect to the Twitter version 2 APIs) describe these steps.

{% elif 'Twitter' in request.path|title %}

Twitter credentials can be obtained from the Twitter API.

1. Sign in to Twitter.

2. Create a new app on the credentials page.

3. Go to the Keys and Access Tokens tab and find the consumer key, consumer secret, access token, and access token secret.

4. Change the application permissions to read-only. For detailed instructions, see Adding Twitter Credentials.

{% elif 'Tumblr' in request.path|title %}

Tumblr credentials can be obtained from the Tumblr API.

1. Sign in to Tumblr.

2. Register an application.

3. Enter the OAuth Consumer Key in the API key field.

For detailed instructions, see Adding Tumblr Credentials.

{% elif 'Flickr' in request.path|title %}

Flickr credentials can be obtained from the Flickr API.

1. Sign in to your Yahoo! account.

2. Get a non-commercial key.

3. Enter the key and secret in the correct boxes.

For detailed instructions, see Adding Flickr Credentials.

{% elif 'Weibo' in request.path|title %}

Learn more about Weibo credentials and how to obtain them in this guide.

{% endif %}
{% endblock %}