Obtaining API keys
API keys need to be entered in Preferences → KNIME → Palladian Web Searcher, or Preferences → KNIME → Palladian Ranking Services.
Instagram
- Register a new client with Instagram here, use
http://localhost
as URL. In the "Security" tab, uncheck "Disable implicit OAuth".
- Open the following client-side authentication URL in your web browser:
https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=http%3A%2F%2Flocalhost&response_type=token
(use the CLIENT-ID
and REDIRECT-URI
from step 1).
- Enter your credentials and submit
- You will be redirected to a
localhost
URL. Ignore your browser's error message that no connection could be established. The URL in your browser’s address bar input should be something like http://localhost/#access_token=ACCESS-TOKEN
-- copy the value of ACCESS-TOKEN
to the Web Searcher preferences.
Twitter
Follow the instructions given
here to create a new app. Copy the consumer key, consumer secret, access token, and access token secret to the Web Searcher preferences.