Skip to content

Commit 7f969b7

Browse files
committed
Adding the requirement
2 parents a4bd1c3 + 45aad14 commit 7f969b7

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

README.md

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Twitter-Python-Bot
2-
<a href="http://bitly.com/2grT54q"><img src="https://cdn.codementor.io/badges/i_am_a_codementor_dark.svg" alt="I am a codementor" style="max-width:100%"/></a><a href="http://bitly.com/2grT54q"><img src="twitterbot.png" height="50">
3-
[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WX4EKLLLV49WG)
2+
<a href="http://bitly.com/2grT54q"><img src="https://cdn.codementor.io/badges/i_am_a_codementor_dark.svg" alt="I am a codementor" style="max-width:100%"/></a><a href="http://bitly.com/2grT54q"><img src="twitterbot.png" height="50">[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WX4EKLLLV49WG)
43

54

65

@@ -19,13 +18,38 @@ Installation
1918

2019
Add API TOKENS in environment and trigger the script.
2120

22-
```
21+
```python
2322
consumerKey = os.environ['consumer_key']
2423
consumerSecret = os.environ['consumer_secret']
2524
accessTokenKey = os.environ['access_token_key']
2625
accessTokenSecret = os.environ['access_token_secret']
2726

2827
```
28+
Befor use
29+
================
30+
You'll need to add list of the people you follow, and get the List id
2931

32+
```python
33+
# ...
34+
list = api.GetListMembers(list_id='904980544005574656')
35+
for l in list:
36+
# ...
37+
```
38+
Updating the hashTag
3039
================
40+
You can customize the hashtag that you need by fullfulling the follow list :
3141

42+
```python
43+
# ...
44+
hashtag = ["robot","cloud", "azure", "aws", "apple", "tesla", "uber" ," facebook ", "linux","fintech", "lifehacking" ,"google ", "docker", "devops", "bigdata", "datascience", "bitcoin", "IOT ", "AI ", "hack", "hacking", "lifestyle"]
45+
# ...
46+
```
47+
Caution
48+
================
49+
Unless you have a business account twitter will apply a daly quota / monthly quota :
50+
Please refer to twitter error table :
51+
```python
52+
# ...
53+
except twitter.error.TwitterError as e:
54+
# ...
55+
```

0 commit comments

Comments
 (0)