Blue Week Special Offer | Brighten your week!
days
hours
minutes
seconds

Accessing Twitter API

Hi,
I bought a book from 2018 about Web Mining (“Mining the social web”). It starts with twitter api. (I have not worked with apis in generally yet)and makes use of the twitter library from Python. (I also don’t know yet). The script needs some strings you need to get from twitter.

CONSUMER_KEY = ''
CONSUMER_SECRET = ''
OAUTH_TOKEN = ''
OAUTH_TOKEN_SECRET = ''

I registered a new project/app at twitter. But the strings and the names where different from the above ones:

API Key
API Key Secret
Bearer Token

Did they change since 2018? Is there a way to get the four from above: CONSUMER_KEY, etc?

Thank you!

Hi @info137, I also have not used the API, but you could try the suggestions in this video (I skimmed through and saw those parameters too).

Hope this helps! Let me know if you need any further assistance