Navarr's Tech Side The Technical Side of my Life

3Nov/090

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!).

30Oct/090

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).

12Oct/094

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

17Sep/090

Twitter gets new Following Block

New Twitter Follow 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.

Tagged as: No Comments
19Jul/090

Twitter Changes “Following” and “Followers” pages

It seems today that if you view the “Following” or “Followers” pages for a user (including yourself) some interesting new tidbits will come up.

For example, you have the option to either view in a list or expanded list format, where previously you could only view in expanded.

following_1

You also have two nifty buttons.  One allowing you to add the user featured, and the other giving you multiple options.

following_2

In the screen shot above, you can see the options to Mention, Follow, and Block.  However, if you’re already following the user you’ll also get the option to Unfollow.

All in all, it looks like these are some nifty changes by twitter to help expand your social graph.

18Jul/091

Thank You, Twitter Support. </sarcasm>

As you may or may not know, I have been slightly ranting about my twitter not updating my Facebook status, this was especially annoying when I tried to update twitter and FB at the same time.  I use Selective Twitter Status on Facebook in order to choose quality content to appear on my Facebook profile (by ending such tweets with a #fb hashtag).

I found out today that it was no longer working, because I no longer appear in Twitter Search.  (Link for from:navarr).  Selective Twitter Status says to try contacting Twitter Support for help, so I sent them this:

Basically, my tweets aren't appearing in Twitter Search, meaning something is wrong. Tweets surrounding mine are, (just run a twitter search for "navarr" and see what I mean.)

Because of this, I have been unable to use Selective Twitter Status on Facebook.

Please fix this, the help for Selective Twitter Status says:

If your updates don't appear in the search, try protecting your updates and then unprotecting them again by ticking the box at http://twitter.com/account/settings, saving, and then going back and un-ticking it. You'll need to post a new tweet to test whether this worked.

If you've tried this and your tweets still don't appear in the search, you need to contact Twitter support and ask them to fix your account so that your tweets are public and searchable.

I did the first step, and now I'm doing the second. Please fix!

I quickly received a reply from twitter saying:

Hi there,

Twitter has it's own Facebook app that allows your Twitter updates to post to your Facebook profile. Find out more about using Twitter and Facebook here:
http://help.twitter.com/forums/10711/entries/31113

Thanks!
Twitter Support

I simply could not believe what they had sent me!  It was 100% irrelevant, and only proceeded to irritate me further.  I sent back a rather rude reply via the comments (thus re-opening my ticket as well):

That fixes my problem, how? That doesn't magically make my tweets appear in the search engine anymore.

to which I received:

Hi,

Thanks for your email. You can search for people on Twitter by keyword, user name, location and more. New: Twitter search in your sidebar!
http://help.twitter.com/forums/39781/entries/33972

More information about searching for people is here:
http://help.twitter.com/forums/10711/entries/14022

We're currently experiencing a couple of issues with finding people; if you can't find yourself in search, make sure you've posted updates (so we can index you and your updates.) Profiles that haven't posted updates aren't indexed in search.

Profiles added in the last 8 weeks aren't being indexed by search. We're tracking this problem here:
http://help.twitter.com/forums/31935/entries/38518

Due to high volume, support requests reporting this issue are being closed, as we're aware of and working on the problem, and tracking it in the known issues page. Please check the thread above for updates or post comments there, and don't re-open tickets. A solved ticket doesn't mean the bug is fixed; bug fixes will be announced on the known issues page.

When you're using 'Find People' to look for folks by name or user name, you can only perform 50 searches per hour before you're limited-- this is for abuse control and spam prevention. If you hit a search limit using Find People, try checking out Twitter Search's advanced search:

http://search.twitter.com/advanced

If you're not listed in search and your profile is public, we may be investigating your account for a violation listed here:
http://help.twitter.com/forums/26257/entries/18311

If you're sure that doesn't pertain to you and you still can't find yourself or your friends, reply to this ticket and let us know.

Thanks!
Twitter Support

and replied:

i post updates, and my profile used to be indexed. Its also much older than two months. As far as I know, i definitely haven't broken any rules nor violated Twitter ToS.

to which I have not yet received another reply.

As you can see, this is obviously getting no where, and only helps to highlight what a complete pain and utter failure Twitter Support is.

You can view the progress of the ticket on the Twitter Support Helpdesk.

6May/080

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.

24Feb/080

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.

12Feb/0819

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.

3Jan/080

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.