Twitter PHP Library
Well, being a PHP developer I quickly got excessively tired of looking for the proper Twitter Library with all the features that returned good results, and I got tired of looking for proper libraries and classes that could interface with OAuth.
Then, I found a relatively new (albeit “Beta”) Twitter OAuth Library, but it still required more steps than I really wanted to do just to get user authentication in a program. So I decided to finally piece everything together and write Twitter API Library.
This library basically does everything you would expect it to do, except for Unauthenticated Requests and the Search API… I haven’t gotten around to coding that in yet, as it was not the primary focus of this library.
The library is not thoroughly tested, but theoretically shouldn’t encounter any errors. I would be very grateful to anyone who’ll test it for me. (I can’t work out the bugs without testers, so please, test!).
SimpleTwitter Update
I’ve pushed a simple update to the SimpleTwitter JavaScript. Change log (if its even needed) below.
- Support for Twitter Lists
- Uses the same format as twitter, for example @navarr/shogi
- Support for Turled Profiles
- Using the variable &turl=true will link @replies to turled beta-profiles instead of twitter profiles.
- Surprisingly, this doesn’t break in co-ordination with lists. It just doesn’t display the list.
- Uses Search API
- We moved to the search API for retrieving tweets, as well as pulling a JSON file instead of XML. This MAY BREAK your current implementation (though it should not). If it does, you can use the older script by pulling old.php from the server instead of index.php
Yeah, that’s it. Was thinking about making the default for &turl being true instead of false, but figured that’d probably annoy more people than it was worth (at least until I get turled to be of more use as a twitter replacement).
Boycotting Virgin Mobile USA
So, I’ve started a boycott. This one’s for real, although I’m unable to participate in it myself (I can’t afford a new phone.)
Please join me in my efforts to Boycott Virgin Mobile USA. The company blocks twitter. That’s really the only reason. They acknowledge that they “do not support it” and they refuse to support it, despite my unlimited plan, so, I’m calling for a boycott!
Please Tweet this blog and join me in my efforts! This is unacceptable =)
Thanks~
Navarr
Twitter gets new Following Block

As seen in the image above, Twitter got a new following block to replace the small button they had previously, mimicking the same look and feed on the following and followers pages.
The Day the Internet Broke
Everything was going normal, until I wanted to go look at my feeds using the wonderful Google Reader of course, when this showed up in my browser:
Then, I asked twitter about it and got a reply from who is now a newfound friend @MathGeek06, who reported that he too was having troubles. After a couple messages or so, I got this:
It looks like the Internets are conspiring against me tonight. Google, tell me, why are you crashing so much lately? We need you, we depend on you, YOU ARE THE INTERNET!
I'm just kidding of course, but this has allowed me ample time to reflect on how dependent I am on central services. Just about the same time as I was giggling at Dave Winer for blogging about Why Decentralizing Twitter is so important. I'm starting to agree with him.
JavaScript: Changes to the Simple Twitter Feed
Recently, I had resumed working on the Simple Twitter Feed, and decided to make some improvements after reading Dave Winer's "What am I up to?" post.
So, the Simple Twitter Feed has one fix, and four additional optional parameters.
| start | STR - Symbol or Text to look for at the beginning of a post |
| time | BOOL - Whether or not to display the "about x minutes ago" |
| client | BOOL - Whether or not to display the "from x" |
| br | BOOL - Whether or not to place a break between the tweet and the extra data |
The simple fix is that the count parameter would check the last (x) amount of tweets, whereas now it displays up to (x) amount of tweets.
JavaScript: Simple Twitter Feed
This is code that I will kindly let anyone use. It only works with public twitter accounts, however, but it is perfect for placing on any web page.
First we have the Inclusion of the File (can only be included once per page). Then the HTML for where the Twitter Feed is going to go, and then the JavaScript to include the file.
<script type="text/javascript" src="http://www.gtaero.net/twitter/twitter.php?user=USERNAME"></script> <div id="twitFeed">Optional Placeholder Text</div> <script type="text/javascript">twitter2id("twitFeed");</script>
Feel free to use this code anywhere you want to. It is my gift to you!
UPDATE: Some additional (optional) variables have been added to the script for further tweaking.
February 24, 2008.
UPDATE: Support for twitter lists and turled profiles has been added to the script. Your script might break with these changes, please view the post for more information.
October 30, 2009.
First Post
This is the first post for my new technical blog. What will go here? Well, probably stuff like XHTML, CSS, HTML, Dave Winer, Twitter, and other random useless things that have something to do with the internet.
I'm not really sure how to start off this blog but by breaking the third wall and recognizing its a blog.. or does that only work in Cartoons and Movies? Either way, Third wall broken, Hello Audience :3
I guess that is all for now, I'll write some more later.




