Monday, March 21, 2011

Facebook autopoke development update

Over the weekend, I've been slaving away to find a better way to search for the poke div box.  After some hacking, I found that facebook uses something called ajaxify.  The problem with this plugin is that greasemonkey cannot interact with it, which sucks because facebook loads the pokes using ajax.  I've known this for a while, but it wasn't until recently that I found the mechanism that it uses.

While I have yet to hear from anyone from facebook concerning my script, it does seem that facebook is trying to block automated requests to poke someone.  I don't know if this is intentional or a side-effect of other changes they are making.  What is clear is that every so often, the code changes.

One of the features I'm hoping to add to the autopoke script is the ability to "fix itself" should facebook change their code.  While this is not 100% possible, the script can be flexible enough to notice changes to facebook's main page and hopefully, figure out the solution.  This feature may not be ready by the release of 4.0, but I'm hoping to work on it.

Another feature I'm actively working on is better internationalization.  Currently, the script only works with English, specifically by design.  I'm working on this so that it will work for any language.

Finally, some important news:

Initially, the autopoke script was born out of a need to fix someone else's autopoke script.  I continued working on it, making it better until my script became more popular than original script.  It came to the point that I no longer had any of the original code (as of version 2.0).

Development of this script takes a lot of time.  In fact, the development of 4.0 has so far taken 20 total programming hours.  There have been a little less than 100,000 installs of the script, which doesn't necessarily mean 100,000 users.  But judging by the sheer number of people who complain when it doesn't work, it's still a lot of people.

I am a firm believer in open-source and source-code freedom.  I also believe people should be compensated for their work.  Whether that's a hardy "thank you" or a monetary contribution, I believe it encourages development and lets the author know that he is appreciated.  With this in mind, I will be establishing a new release structure for this script.

I've decided to something similar to what Stephen King did in 2000: The script will be released once a certain amount of money has been raised. 100% of the money will go toward a non-profit organization that will be decided when the script is ready for release.  I don't have a dollar amount figured yet or how the logistics will work.  As soon as I figure this out, I'll post here.

As a result of this, will not be pushing the updates to Google code.  Changes and source will become available after the release.

3 comments:

  1. I like your idea, and would suggest donating it to the EFF. Good luck on figuring it out :)

    ReplyDelete
  2. Considering that a vast majority of the world is selfish, I'd even consider putting a small $2 price, or something not too large, giving those who're actually willing to donate the script, rather then a few good people with the rest of the world leeching. Although this might get you into some trouble with facebook considering you've stated you did "some hacking".

    Just my opinion, but I'd prefer to pay a small fee then pay and wait for the rest of the world to join in.

    ReplyDelete
  3. be great to know when this would be up and going again :(...

    ReplyDelete