You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 11, 2019. It is now read-only.
Hi,
I am getting the following error while trying to run the showStatus function on twitter ID's in order to return the various attributes of the tweet such as text, creation date, user ID etc.
Note: The function runs and returns the desired output for 3-4 ID's before the error shown above pops up and the code stops executing.
What can be done to tackle the issue. I have installed the latest version of the package from github.
Cheers!
The text was updated successfully, but these errors were encountered:
x<-read.table("file.txt", sep=",",header=FALSE) ## reads the file
x<-t(x) ## takes transpose of file
x<-as.data.frame(x) ## converting to data frame
x$Text<-c(1:dim(x[1])) ## creates new column for storing text from tweet at later stage
x$Created<-c(rep(Sys.time(),5390)) ## creates new column for storing creation date of tweet
x[,2]<-as.character(x[,2]) ## converts Text column to character
colnames(x)<-c("TweetID","Text","Created")
for(i in 1:5390)
{
m<-showStatus(x$TweetID[i], map=TRUE) ## retrieves tweet information for first ID in list
x$Text[i]<-m$text ## stores text from tweet in corresponding column
x$Created[i]<-m$created ## stores creation date of tweet in corresponding column
}
On running the code above, I encounter the error stated in the previous message and only 3-4 rows get populated. If you would like to test the code above you could do the same by reading the following bunch of tweet IDs (i used the ID's mentioned below):
Hi,
I am getting the following error while trying to run the showStatus function on twitter ID's in order to return the various attributes of the tweet such as text, creation date, user ID etc.
Note: The function runs and returns the desired output for 3-4 ID's before the error shown above pops up and the code stops executing.
What can be done to tackle the issue. I have installed the latest version of the package from github.
Cheers!
The text was updated successfully, but these errors were encountered: