Pustaka Taratsa

Baca teks (EPUB): Python: python-twitter: tweet.py

1 bagian

Teks ini diambil langsung dari berkas EPUB; tata letak dan gambar tidak disertakan. Untuk tampilan lengkap, silakan merujuk pada dokumen asli.

Daftar isi
  1. Python: python-twitter: tweet.py

Python: python-twitter: tweet.py

Sumber: https://onnocenter.or.id/wiki/index.php/Python:_python-twitter:_tweet.py

Install

sudo pip install python-twitter

Edit

.tweetrc

isi

[Tweet]
consumer_key: *consumer_key*
consumer_secret: *consumer_password*
access_key: *access_key*
access_secret: *access_password*

Download

https://raw.githubusercontent.com/bear/python-twitter/master/examples/tweet.py
https://github.com/bear/python-twitter/blob/master/examples/tweet.py



Jalankan

python tweet.py "percobaan tweet dengan tweet.py"