Open jaydson opened 5 years ago
I would be happy to take this one. @jaydson
@jaydson Could you please elaborate on "real format twitter provides"?
Hey @arabyalhomsi , it's basically what we have as an example on the README file.
You can download your twitter data to see exactly what are the contents on the tweet.js
file.
Here: https://help.twitter.com/en/managing-your-account/how-to-download-your-twitter-archive
{
"retweeted" : false,
"source" : "<a href=\"https://about.twitter.com/products/tweetdeck\" rel=\"nofollow\">TweetDeck</a>",
"entities" : {
"hashtags" : [ ],
"symbols" : [ ],
"user_mentions" : [ ],
"urls" : [ {
"url" : "https://t.co/OcqN37iCFo",
"expanded_url" : "https://jaydson.com/social-detox-rehab/",
"display_url" : "jaydson.com/social-detox-r…",
"indices" : [ "19", "42" ]
} ]
},
"display_text_range" : [ "0", "42" ],
"favorite_count" : "5",
"id_str" : "1034898743869534208",
"truncated" : false,
"retweet_count" : "2",
"id" : "1034898743869534208",
"possibly_sensitive" : false,
"created_at" : "Wed Aug 29 20:21:02 +0000 2018",
"favorited" : false,
"full_text" : "Social Detox/Rehab\nhttps://t.co/OcqN37iCFo",
"lang" : "da"
}
Note that this is just one entry. We should have an array of tweets.
So, I just need to add a short tweet.js file. To what extent do I need to explain it? or do I just provide the file?
The main file to read
tweet.js
is being ignored as it is really big. We need a sample tweet.js file with the real format Twitter provides.