xdevplatform / bookmarks-search

Search your Twitter Bookmarks
https://bookmarksearch.glitch.me/
Apache License 2.0
57 stars 12 forks source link

Add ability to delete bookmarks #4

Open nikitavoloboev opened 2 years ago

nikitavoloboev commented 2 years ago

I'd love to be able to delete bookmarks easily from the list. There seems to be no way to currently do it.

andypiper commented 2 years ago

This is a sample app, so feel free to contribute that functionality.

nikitavoloboev commented 2 years ago

feel free to contribute that functionality

Does Twitter expose such API? Last time I looked, there was no way to delete bookmarks via API.

nikitavoloboev commented 2 years ago

@andypiper You answered to a thread here saying that this API is not available. I really hope that changed since you say we can finally contribute that functionality. Can you link to the API to do this? 💖

Also just searched, there is no way to retrieve all bookmarks via API either which is quite sad.

I want to build a workflow to open Twitter bookmarks in my browser and instantly remove them from my Bookmarks when the link gets open. Without having to manually press 'delete bookmark' every time. Would be a dream.

andypiper commented 2 years ago

That forum post was from a couple of years ago, and the bookmarks API was released since then :-)

You can remove a bookmark using this endpoint - this demo could be extended to do that, this is possible.

There's currently no way to retrieve all the bookmarks via API unfortunately, there's a limit to the number that can be retrieved in the API. We are aware of this limitation but I'm not sure what the current plan is to extend the current capability (you're definitely not the only person asking for it).