Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6143743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:33:35+00:00 2026-05-23T18:33:35+00:00

I wish to send a tweet (status, update) to / from ONE PARTICULAR twitter

  • 0

I wish to send a tweet (status, update) to / from ONE PARTICULAR twitter account hourly from a mysql database. I have messed around with the twitter api & oAuth before and it is a real big headache. I just want to have one account hardwired into the code. The hourly part means automation / CRON, however i’ve never messed with CRON. I see all of the pieces of what I’m trying to accomplish I just need a little shove in the right direction. Any help / tutorials / pointers regarding this would be a great help. PHP is my main language of choice.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T18:33:36+00:00Added an answer on May 23, 2026 at 6:33 pm

    Twitter:

    1.) Go to dev.twitter.com, login with the account you want to use, create an app, then under app settings write down consumer key, consumer secret and oauth token/ouath token secret.

    2.) use this script https://github.com/abraham/twitteroauth

    $client = new TwitterOAuth($consumer_key, $consumer_secret, $oauth_token, $oauth_secret);
    

    Then use API documentation for whatever you need https://dev.twitter.com/docs/api

    ex. Tweeting: $client->post('statuses/update', array('status' => 'tweet text'));

    Cron:

    Most shared hostings provide an easy-to-setup cron from cpanel, check it first. If it’s not available, then you need to login via SSH and use crontab -e then for once every hour add 0 * * * *

    Read up on it here http://en.wikipedia.org/wiki/Cron

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web application where I wish to send information to a database.
I have an ASP.NET 4.0 aspx page from which I wish to send an
I wish to send an email from my localhost machine (using PHPs mail function)
I wish to send text between processes. I have found lots of examples of
i wish to send some data as array from my iphone app to server
I have a small client server application in which i wish to send an
I wish to have an app written in the D programming language update its
As part of a personal project, I wish I could send a picture from
I have a method send() that I wish to execute/call every 1 second. I'm
Is there a way to send data (like update status or post to friend's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.