Open yukiisbored opened 7 years ago
Archiving is nice idea. It can be implemented by improving tweets dump implementation.
Run the api endpoint:- 1) if the tweet related to info exists, then exit 2) else collect the tweet
Is this the idea?
I'd like to give it a try :)
@AnshulMalik I've invited you to this org so I can assign you to this issue. Can you approve the invitation?
Thanks
@vibhcool Yes, that's the idea. We can make Loklak into an archiving utility for tweets.
@yukiisbored I am in :)
I'll soon create a PR of my first attempt, then we can iterate over to build the feature.
@yukiisbored , but this feature of archiving exists in Loklak Server. dumps can be downloaded from /dump.html
. How this idea is different from the present archiving? 😅
@vibhcool But I can't see what those dumps contain and I can't see if they actually have the tweet I want nor I can request to archive a tweet ASAP.
An API endpoint that checks if a tweet is collected is helpful for those who want a tweet to be scanned and archived into Loklak's database in the same way on how the "Wayback Machine" works.
The API can look something familiar like below:
/api/show.json?tweet=https://twitter.com/ArtisticBondage/status/885041783079661569
/api/show.json?tweet=885041783079661569
/api/show.json?user=https://twitter.com/ArtisticBondage
/api/show.json?user=ArtisticBondage
The API does the following:
Possible use cases: