Twitter bot: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
==twitter bots==
=twitter bots=
* 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]
[[File:twitter_bot_001.jpg|400px]]
** Art Assignment bot (p.21) '''What is the tweet structure?'''
* ProustTweet https://twitter.com/ProustTweet


==wikipedia bots==
* ''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]
* [[In The Company Of Bots]] by Cristina Cochior
* [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.


=steps=
 
 
=Write a twitter bot =
== Create twitter app ==
== Create twitter app ==
Create a twitter app using your twitter account https://apps.twitter.com/ and get your
Create a twitter app using your twitter account https://apps.twitter.com/ and get your
Line 15: Line 20:


== python ==
== python ==
install [http://www.tweepy.org/ tweepy] Python library  
'''install [http://www.tweepy.org/ tweepy] Python library'''
  sudo pip install tweepy
  sudo pip install tweepy


if you dont have pip (python package manager) install it:
if you dont have pip (python package manager) install it:
* (debian/ubuntu) <pre>sudo aptitude install python-pip</pre>
* (debian/ubuntu) <pre>sudo aptitude install python-pip</pre>
* (mac) <pre>brew install python</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==
==Twitter and Python tutorials==
http://naelshiab.com/twitter-meets-python/
git clone https://git.pzimediadesign.nl/repos/t4pp_03_twitter.git

Latest revision as of 17: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