Simple Twitter Poster Script - Automatically Post Messages At Intervals

vazues

Newbie
Joined
Jun 4, 2013
Messages
16
Reaction score
0
Hey everyone,
I'm fairly new here and this is my first attempt at providing some value to everyone.
It might not be much, but could be of use to some as it was to me.

It is a simple scirpt that I place on my server and setup chron to run it at any time I need my tweets to go out.

How to make it work:
  • Plug your twitter api stuff into the twitterpost.php file (if you are not sure how to get this stuff please google)
  • Put the posts that you wanted tweeted in your quotes.txt one per line
  • Move all this stuff your your server/hosting
  • Setup chron to run the twitterpost.php
    • The chron_commands file shows and example of what your chron command should look like (for instructions on setting a chron task please google)

Other details:
  • error-log.txt logs problems that might happen
  • the poster takes tweets one per line from the quotes.txt and puts used ones in the usedquotes.txt (you can recycle these later)
  • Feel free to post any questions you may have

Not sure if this is the correct way to upload things here, but I used mirror upload.
Here is the Google shortned url id TGNLQ3 (let me know if it needs changing). Just append this to the end of the regular google shorter link.

Also made a virus total for it, but blackhatworld is not letting me add the link. Just message me or indicate how I can provide it.
For some reason it shows that bkav found some "CPRFef8.Webshell", not sure what that is. The code is very basic, if anyone knows how to make VirusTotal 100% clean or anything I can do to resolve the issue, please let me know.

Hope this proves useful. Good luck!

Also regarding the system, I do understand how it operates and filters out garbage. However, it's too bad that it makes it difficult for new members to get started with contributing to the community quickly. I don't like creeping around and posting on other threads unless I really have too..
 
Fair enough.
I use another script to fill up the quote.txt automatically, but I guess you can set something similar up with Yahoo Pipes, IFTTT and Buffer.
 
Back
Top