Twitter bot: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
Line 23: Line 23:
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 scripts repository'''  

Revision as of 16:29, 18 November 2016

twitter bots

wikipedia bots

https://en.wikipedia.org/wiki/Wikipedia:Bots

steps

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