How to curl
Coactlab hadbeen give the example for this.
GET
and POST
of the plaintext file to Twitter's API?Coactlab hadbeen give the example for this.
Coactlab: Google Talk Status to Twitter
Basically we use PHP to curl GET the plaintext file and then curl POST to
Step 1)
Setup account @ Jabberland to post your Jabber status as plaintext
- Your JID is your gtalk login such as: example@gmail.com
Choose the output format:
- Copy the url and paste save it for the php file in the next step.
Step 2)
Add the bot@jabberland.com to your contacts list.
This is mandatory if you want to maintain up to date your information.
Step 3)
Download my modified PHP script and upload to your webserver.
Make sure to modify the file with your settings, and then change the file extension to .php
Step 4)
Setup your cron tab to execute your PHP code on a regular basis.
Here are some instruction on setting up a crontab with Dreamhost
Set 5)
Enjoy the ease of updating your Twitter Status using GtalkThe old way was to add the Twitter bot as your friend and IM the bot when you wanted to post something to twitter
Still None Awesome so far » Be the 1st Awesome to Twitter Status using Gtalk
Post a Comment
Let others appreciate you trough what you said