TweetDelete | Delete old tweets from your Twitter timeline

 by   phyber Python Version: Current License: No License

kandi X-RAY | TweetDelete Summary

kandi X-RAY | TweetDelete Summary

TweetDelete is a Python library. TweetDelete has no bugs, it has no vulnerabilities and it has low support. However TweetDelete build file is not available. You can download it from GitHub.

Delete old tweets from your Twitter timeline.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              TweetDelete has a low active ecosystem.
              It has 5 star(s) with 1 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 1 open issues and 0 have been closed. On average issues are closed in 2274 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of TweetDelete is current.

            kandi-Quality Quality

              TweetDelete has no bugs reported.

            kandi-Security Security

              TweetDelete has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              TweetDelete does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              TweetDelete releases are not available. You will need to build from source code and install.
              TweetDelete has no build file. You will be need to create the build yourself to build the component from source.

            Top functions reviewed by kandi - BETA

            kandi has reviewed TweetDelete and discovered the below as its top functions. This is intended to give you an instant insight into TweetDelete implemented functionality, and help decide if they suit your requirements.
            • Main function for tweets .
            Get all kandi verified functions for this library.

            TweetDelete Key Features

            No Key Features are available at this moment for TweetDelete.

            TweetDelete Examples and Code Snippets

            No Code Snippets are available at this moment for TweetDelete.

            Community Discussions

            QUESTION

            How can I search for messages (embeds) with a particular 'author' through DiscordSocketClient?
            Asked 2020-Aug-16 at 14:06

            I'm in the process of building a new Discord bot (of course), and I've been working on the Twitter integration using Tweetinvi. I've got most of the Twitter streaming bits working normally (at least, as far as I can tell in my simplified testing), but I wanted to have the bot modify/delete posts in Discord if the Tweet is subsequently deleted. Tweetinvi has a TweetDeleted event that I can use to detect this as a part of my stream, but I'm having difficulty figuring out how to find the post in Discord.

            What I'd like to do is "simply":

            1. Search for posts (embeds) from the author (defined by the original Tweet)
            2. Find the post with a matching .Url value in the embed
            3. Replace that post with a message like "THIS TWEET WAS DELETED".

            The problem I'm running into, however, is I can't seem to find a way to do "step 1" - search for and return any posts from the specified author. The only option I've found so far is the GetMessagesAsync method, but that doesn't seem to have a way to filter the results. Plus, with the "soft limit" of 100 messages, I worry that I could still not find the message I'm looking to delete.

            I post the embeds using the DiscordSocketClient object in my class like this:

            ...

            ANSWER

            Answered 2020-Aug-16 at 14:06
            1. Discord does not provide an endpoints for Bots to search/filter on specific criteria. The only way to retrieve messages is to use the GetMessagesAsync() method
            2. The limit for GetMessagesAsync() is technically Int32.MaxValue. The 100 that you see is simply the default. This is because Discord will return in chunks; 100 messages at a time. For example if you set the limit to 1000, you will get 10 chunks of 100.
            3. Possible issues with retrieving a large number of messages? The main issue would be the length of time taken to retrieve the messages, which could block the gateway unless offload the process to its own task.

            A possible solution would be to implement your own system for linking and storing twitter posts to discord posts. Could be as simple as a dictionary of Twitter post id and discord post id which would allow you to easily find the message id related to a given twitter post.

            Source https://stackoverflow.com/questions/63420492

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install TweetDelete

            You can download it from GitHub.
            You can use TweetDelete like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/phyber/TweetDelete.git

          • CLI

            gh repo clone phyber/TweetDelete

          • sshUrl

            git@github.com:phyber/TweetDelete.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link