Adium

Profile: Ozymandius (Ozy)

Mail
Comment Count 10 comments
1 xtras

Latest comments

# by Ozy on 09/05/10 at 22:34:46

What version of PHP are you running?

# by Ozy on 09/05/10 at 22: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/04/10 at 19:30:05

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

# by Ozy on 05/02/10 at 21:56:51

Modified and updated the script. This version correctly handles @replies (I think - tested only by preventing them), correctly allows RTs to be posted, does not cut off retweets when they are posted by API (which results in them being truncated).

I've modified much of the code for reading clarity and added comments.

http://pastebin.com/h0hDfeXX

# by Ozy on 05/02/10 at 08:02:11

Your code checks for '@' is in the string, rather than if it is the first character. I'd suggest switching over to strncmp to correctly allow for tweets with '@' in it.