Twitter REST api with Python and Oauth

preview_player
Показать описание
Blog:

A quick and easy way of accessing the Twitter api using Oath with Python.

Follow me on Twitter:

Stack thread where i found this solution.
Рекомендации по теме
Комментарии
Автор

OMG \o/ you are a genious and became my hero BibleThump :( these are the tears of joy <3 thanks sir

Lumenified
Автор

I needed the following to make it work - but it worked:

tweets = json.loads(data.decode())

LookNumber
Автор

Hi,
What's the logic behind writing "response, data" at line 19 ?

vivekbhardwaj
Автор

Should oauth2 always be available? I tried this on my pythonanywhere account but it said there was no module oauth2

Alienturnedhuman
Автор

i am getting this error
module 'oauth2' has no attribute 'Consumer'

purnakoteswararaomallapadd
welcome to shbcf.ru