Adium
Dock Icons Emoticons Contact List Styles Message Styles Sound Sets AppleScripts Status Icons Service Icons Menu Bar Icons Plugins Miscellaneous All
TwitterStatusX

TwitterStatusX

Submitted By Ozymandius (Ozy)

Description

This a script that posts your Twitter status on Adium using PHP.

Features
  • Handles multiple accounts
  • Allows only unprotected accounts
  • Allows retweets and @replies to be hidden
  • Allows API retweets to be fully displayed (not limited by the 140 characters which cuts off retweets from API)

Use
  1. Install the script
  2. Type and enter "%_twitter" to generate the ~/.twitterStatusX/config configuration file.
  3. Set the configuration file per instructions in the comments in the file.
  4. Type "%_twitter" to display the most recent valid tweet(s) from your configured Twitter account(s).

Changes

Version 1.2
  • Removed functionality for protected accounts as OAuth is now required


Version 1.1
  • Created a program directory to store files in the user's home directory
  • Placed configuration file, with comments, into the program directory
  • Placed stored tweet files into the program directory to prevent reboots from removing stored files

Comments

You can reply to individual comments by clicking the "Reply" link next to each.

# by Miriup on 09/04/10 at 22:21:27

You need the SimpleXML extension (that provides the http://www.php.net/manual/en/function...-string.php function) of PHP enabled to use this plugin.

# by Ozy on 09/04/10 at 22:30:05

There is no need for SimpleXML. Please take a look at the source to see for yourself.

# by Miriup on 09/06/10 at 01:25:16

Well... maybe I forgot to set something up. But I looked at the source, because the script wasn't working for me. In the moment it needs to fetch the XML file from Twitter it needs the 'simplexml_load_string' method to decode it into an array:

-----8status->text;
-----8

# by Miriup on 09/06/10 at 01:27:57

It looks like only quarter of my post made it. Basically when I remove the '@' in line 126 I'm getting

Fatal error: Call to undefined function simplexml_load_string() in /Users/user/Library/Application Support/Adium 2.0/Scripts/TwitterStatusX.AdiumScripts/Contents/Resources/twitter.php on line 126

That function is provided by SimpleXML according to the link I posted.

# by Ozy on 09/06/10 at 01:32:55

Cool - thanks. I must have been sort of nuts when I replied. I see the line now. I'll see if I can remove that dependency.

# by Ozy on 09/06/10 at 01:34:46

What version of PHP are you running?

Post a New Comment

You must be logged in to post comments.

Install | Download
4.56kb (708 downloads)

12345
4.00 / 6 votes
Current Version: 1.1
Last Updated: 10/24/10