File tree 3 files changed +7
-10
lines changed
3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 1
- RT @LODHA: How would #demonetization impact Indian #realestate? Industry experts share their insights via @Realty_Et https://t.co/M41zVvbJG6<br><br>
2
- RT @sambitswaraj: On @IndiaToday at 9pm #DeMonetization<br><br>
3
- RT @roamingraghu: Hi @jacobinmag Please report on the massive #Demonetization crisis that is happening in India. Millions of Indians advers<br><br>
4
- RT @Joydeep_911: Calling all Nationalists to join...
5
- Walk for #CorruptionFreeIndia and spread the benefits of #Demonetization among the mas<br><br>
6
- RT @ModiBharosa: Putting Nation over Party Politics #nitishkumar supports PM @narendramodi on #Demonetization https://t.co/UodwXdPMmG<br><br>
1
+ RT @ModiBharosa: Putting Nation over Party Politics #nitishkumar supports PM @narendramodi on #Demonetization https://t.co/UodwXdPMmG<br><br>
2
+ RT @ModiBharosa: Putting Nation over Party Politics #nitishkumar supports PM @narendramodi on #Demonetization https://t.co/UodwXdPMmG<br><br>
3
+ RT @madskak: Before the Bypolls, this will decide #Demonetization of Modi !
4
+
5
+ After the results, Bypolls has nothing to do with #Demonetizat<br><br>
6
+ RT @centerofright: #DeMonetization - many families realised that they can live with less cash in hand by moving to plastic and online Trxns<br><br>
7
+ RT @ModiBharosa: Putting Nation over Party Politics #nitishkumar supports PM @narendramodi on #Demonetization https://t.co/UodwXdPMmG<br><br>
Original file line number Diff line number Diff line change 1
1
import tweepy #Library for accessing Twitter API
2
2
from textblob import TextBlob #Library for Text Processing
3
3
4
-
5
-
6
4
#Setting up API credentials
7
5
#The credentials can be obtained by setting up your account at https://apps.twitter.com/
8
6
13
11
access_token_secret = #insert access token secret here
14
12
15
13
#Twitter API authentication
16
-
17
14
auth = tweepy .OAuthHandler (consumer_key ,consumer_secret )
18
15
auth .set_access_token (access_token , access_token_secret )
19
16
20
17
api = tweepy .API (auth ) #API instance
21
18
22
-
23
19
#Printing random tweets and using them for some purpose!
24
20
public_tweets = api .search ('#Demonetisation' )
25
21
You can’t perform that action at this time.
0 commit comments