tiagoalvesdulce / dcrtimestamptweet Goto Github PK
View Code? Open in Web Editor NEWExample of a simple twitter bot to timestamp a twitter thread using dcrtimejs and ipfs
Example of a simple twitter bot to timestamp a twitter thread using dcrtimejs and ipfs
The bot tweets are getting hidden in the thread where it is invoked. It is unclear what is the main cause of it, but it is definitely being marked as spam.
If you look at this twitter tos: https://help.twitter.com/en/rules-and-policies/twitter-automation, you can see that we may fit in the category of spam by twiting almost the same content every time.
This article also explains what maybe is happening: https://www.wired.com/story/twitter-will-begin-hiding-all-tweets-from-suspect-accounts/.
Those whose tweets are deemed to be "disruptive," but that don't violate Twitter's policies outright, will be secluded at the bottom of a conversation thread or search result, to make room for more productive and respectful conversations. Some of the new signals Twitter will consider include whether you've confirmed your email address, whether you've created multiple accounts from the same IP address, and whether you're frequently blocked by accounts you interact with. Tweets that get filtered this way—as long as they don't violate Twitter's policies—won't be removed, but you will have to click "Show more replies," or elect to "show everything" in your search settings in order to view them.
It's important to notice that the tweets are not being deleted. If you go to the bot Tweet & Replies section you can see all the replies made by the bot in there:
https://twitter.com/dcrtimestampbot/with_replies.
Some actions we can take:
According to the Twitter API we have to make sure the bot can handle the following scenarios:
If someone replies to the bot tweet, it should not be timestamped.
Nothing can prevent. But a hybrid POW/POS system can make it harder to happen.
That's why stakeholders should control the coin's future.
Isn't that right @dcrtimestampbot ? $DCR
This tweet did not timestamped, but it should. Maybe the regex?
This tweet should timestamp, but it did not. We need to figure why.
thread: https://twitter.com/_vctt/status/1126164335745744897
Add some pretty basic info for developing for this repo. Good to have:
The bot crashed after dealing with the following tweet:
https://twitter.com/Carl0sfelipebtc/status/1131724553238003712
Looks like the parent tweet was unavailable, causing the twitter to return an error, which the bot mistakenly tried to timestamp, causing a fatal crash.
Error logs:
�[32minfo�[39m: �[32mdealing with tweet 1131724553238003712�[39m {"service":"user-service","timestamp":"2019-05-24T00:52:19.685Z"}
�[31merror�[39m: �[31mprocessTweetThreadError 1131724553238003712: Error: Sorry, you are not authorized to see this status.�[39m {"service":"user-service","timestamp":"2019-05-24T00:52:19.821Z"}
�[31merror�[39m: �[31mCannot read property 'digest' of undefined�[39m {"service":"user-service","timestamp":"2019-05-24T00:52:19.822Z"}
�[31merror�[39m: �[31mevent.message_create.message_data: Neither text nor attachment defined on message_data�[39m {"code":214,"allErrors":[{"code":214,"message":"event.message_create.message_data: Neither text nor attachment defined on message_data"}],"twitterReply":{"errors":[{"code":214,"message":"event.message_create.message_data: Neither text nor attachment defined on message_data"}]},"statusCode":400,"service":"user-service","timestamp":"2019-05-24T00:52:19.870Z"}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.