joealcorn / tweetposter Goto Github PK
View Code? Open in Web Editor NEWa reddit bot
Home Page: http://www.reddit.com/u/TweetPoster
License: MIT License
a reddit bot
Home Page: http://www.reddit.com/u/TweetPoster
License: MIT License
As seen in this post, the account TehBanana_ isn't linked.
Posted a tweet with a link in it, it got everything from www to .com, but nothing after that.
Hey, is anyone willing to make this repo deplorable to Heroku? Heroku gives you a button which you put in README, this button automatically opens Heroku and gives you a form to put in variables before I deploys. This will be so much easier than self-hosting on your computer.
When posting a tweet the pic.twitter.com link directs to the low quality version of the picture while the Imgur link mirrors the HQ version.
Example:
https://www.reddit.com/r/GlobalOffensive/comments/3hu31y/2guys1mic/cuaixme
Linked image:
https://pbs.twimg.com/media/CM7YcS0WwAA-str.jpg
Instead of:
https://pbs.twimg.com/media/CM7YcS0WwAA-str.jpg:large
This might be intentional behaviour but I don't really see why.
This brings some issues since quite a few subreddits don't allow linking within reddit without a no participation subdomain. Messaging still works properly with the np subdomain added, please consider changing this.
As above. Saying times are in UTC doesn't work when tweet text mentions specific times and the bot doesn't correct them.
As made obvious by: http://www.reddit.com/r/linux/comments/1j0zzz/have_a_question_for_mark_shuttleworth_hes_doing/cb9zffz
A solid, understandable fix would be to change tweet timestamp display to say 2013-07-25 14:02:37 UTC
instead.
The services the original tweet_poster used seem to be gone, but I found at least one alternative with an API: http://unshort.me/api.html
See for example this comment - original tweet has two images, but only first one was added.
[**@DevAether**](https://twitter.com/DevAether):
>[2014-04-15 23:59:37 UTC](https://twitter.com/DevAether/status/456220331913408512)
>It's time to break silence\. \[\*facebook\.com\*\]\(https://www\.facebook\.com/photo\.php?fbid=628997760513680\)
[**@CrimsnVigilante**](https://twitter.com/CrimsnVigilante):
>[2014-04-16 00:10:56 UTC](https://twitter.com/CrimsnVigilante/status/456223179514851328)
>\[@DevAether\]\(https://twitter\.com/DevAether\) So does this mean we'll be getting a release date soon? Or still in the dark on that?
[**@kingbdogz**](https://twitter.com/kingbdogz):
>[2014-04-16 00:18:22 UTC](https://twitter.com/kingbdogz/status/456225047959457792)
>\[@CrimsnVigilante\]\(https://twitter\.com/CrimsnVigilante\) \[@DevAether\]\ (https://twitter\.com/DevAether\) Release date will come soon\, but we've made the mistake of rushing the mod before\. We don't want to repeat that\.
----
[^[Mistake?]](http://www.reddit.com/message/compose/?to=TweetPoster&subject=Error%20Report&message=http://reddit.com/23dxzz%0A%0APlease leave above link unaltered.)
[^[Suggestion]](http://www.reddit.com/message/compose/?to=TweetPoster&subject=Suggestion)
[^[FAQ]](http://np.reddit.com/r/TweetPoster/comments/13relk/)
[^[Code]](https://github.com/buttscicles/TweetPoster)
[^[Issues]](https://github.com/buttscicles/TweetPoster/issues)
I couldn't find any information on whether this is already supported, but being able to detect multi-part tweets would be awesome. E.g. these two tweets:
We regret to inform that we will not be attending Starladder as we were unable to obtain our visas in time. (1/2)
The Ukrainian embassy was closed from the 1st to the 10th due to the new year (2/2)
https://twitter.com/CDECgaming/status/554940186832814080
https://twitter.com/CDECgaming/status/554940524163911680
Current plan:
TweetPoster.rehost.ImageHost
None
As can be seen for example here: https://www.reddit.com/r/Yogscast/comments/3pw5to/how_to_find_the_yogscast_booth_at_comiccon_were/cw9x28t
It just takes the thumbnail image and doesn't link the actual video:
Thumbnail image link: http://pbs.twimg.com/ext_tw_video_thumb/657499853870772224/pu/img/56l_gRtlr058HYDu.jpg
Actual video .mp4 link: https://video.twimg.com/ext_tw_video/657499853870772224/pu/vid/1280x720/zFkgxCKnL1YbSGK-.mp4
As seen in this thread the bot doubleposted the same message.
TweetPoster only links and rehosts the thumbnail of the image, which means that for a GIF, only one frame is shown.
For example, compare
this tweet: https://twitter.com/Pyrao/status/609881586847326208
and TweetPoster's post: http://www.reddit.com/r/mindcrack/comments/39s4um/pyropunchers_dank_poose_meme/cs5y3kv
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.