Twitter bot: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "=steps= * create a twitter app using your twitter account https://apps.twitter.com/ and get your ** consumer_key ** consumer_secret ** access_token ** access_token_secret")
 
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
=steps=
=twitter bots=
* create a twitter app using your twitter account https://apps.twitter.com/ and get your
[[File:twitter_bot_001.jpg|400px]]
** consumer_key
 
** consumer_secret
* ''Twitter Bot Encyclopedia'' http://p-dpa.net/work/twitter-bot-encyclopedia/ [https://ia800509.us.archive.org/4/items/twitter_bot_encyclopedia_with_cover/twitter_bot_encyclopedia_with_cover.pdf PDF]
** access_token
* [[In The Company Of Bots]] by Cristina Cochior
** access_token_secret
* [https://twitter.com/ProustTweet ProustTweet]
* [https://en.wikipedia.org/wiki/Wikipedia:Bots Wikipedia's bots]
* [ http://leeeeza.com/twitter-bot-encyclopedia.html ''Twitter Bot Encyclopedia''] by Elizaveta Pritychenko. [http://p-dpa.net/work/twitter-bot-encyclopedia/ PDPA link]
* [https://twitter.com/tweet_captain @tweet_captain Captain Tweet]  by Inge Hoonte. [[User:Inge_Hoonte/captain_tweet|Project wiki page]] Follows the Captain's James Cook logs, posting its day to day entries.
 
 
 
=Write a twitter bot =
== Create twitter app ==
Create a twitter app using your twitter account https://apps.twitter.com/ and get your
* consumer_key
* consumer_secret
* access_token
* access_token_secret
 
== python ==
'''install [http://www.tweepy.org/ tweepy] Python library'''
sudo pip install tweepy
 
if you dont have pip (python package manager) install it:
* (debian/ubuntu) <pre>sudo aptitude install python-pip</pre>
* (mac) <pre>brew install python-pip</pre>
 
'''git clone scripts repository'''
git clone https://git.pzimediadesign.nl/repos/t4pp_03_twitter.git
 
==Twitter and Python tutorials==
git clone https://git.pzimediadesign.nl/repos/t4pp_03_twitter.git

Latest revision as of 18:52, 3 February 2019

twitter bots

Twitter bot 001.jpg


Write a twitter bot

Create twitter app

Create a twitter app using your twitter account https://apps.twitter.com/ and get your

  • consumer_key
  • consumer_secret
  • access_token
  • access_token_secret

python

install tweepy Python library

sudo pip install tweepy

if you dont have pip (python package manager) install it:

  • (debian/ubuntu)
    sudo aptitude install python-pip
  • (mac)
    brew install python-pip

git clone scripts repository

git clone https://git.pzimediadesign.nl/repos/t4pp_03_twitter.git

Twitter and Python tutorials

git clone https://git.pzimediadesign.nl/repos/t4pp_03_twitter.git