Discussing the nuts and bolts of software development

Wednesday, November 12, 2008

 

The Anti-social web - Twitter for the socially inept

Twitter was mentioned during Macadamian's corporate blogging presentation. "Useless! Bah! Humbug!" were the first thoughts to enter my head. Then the speaker pointed out that corporate bloggers should strive to see the positive side of any situation, and I figured making Twitter useful to a neo-Luddite was a good challenge; there must be an itch to scratch here, right?

All I knew about Twitter was that people think it's slow, and it's written in Ruby (on Rails.) After exploring a little more, I found out that it can provide private Atom feeds of your messages, and exposes a REST API (ooh, new, shiny!) That was enough to get me coding.

To keep things simple I decided to be boring and test out Twitter using Ruby (normally, I plan epic posts with 5 different languages, communicating through at least 2 protocols... and a database for no good reason.) The process I followed was:
require 'date'
require 'rest_client'
require 'rexml/document'

username = "your_twitter_id_here"
password = "your_twitter_password_here"

twitter = RestClient::Resource.new 'http://%s:%s@twitter.com' % [ username, password ]

# Send a message to twitter
result = twitter['statuses/update.xml'].post(
:status => "This is your computer. You have no life as of %s" % DateTime.now()
)
# print result

timelineXML = twitter['statuses/user_timeline.xml'].get({ :count => 5 });

# Make the XML usable
# (Use XmlSimple for even easier handling)
timeline = REXML::Document.new(timelineXML)

# Display the text element of every status returned by the service
# (print timelineXML to learn more about the structure of the result.)
puts "%s's timeline:" % username
timeline.elements.each('statuses/status/text') { |message|
puts message.text
}

As Twitter restricts you to 70 calls per hour, it's a good job Ruby (on REST) made this so easy. REST is a nice change from the usual URL gobbledygook that frameworks throw up - I can't wait to try it out in Struts2.

So, what can people with no interest in socializing do with Twitter?
One final note, until the authentication framework is more robust, don’t rely on anything you twit staying private.

Labels: , ,


Comments:
If you need an essay writing help I recommend you to visit this site. You will find a team of professional writers!
 
Thanks for the interesting information. Now there are so many computer programs that it is difficult to choose the best. But there are things that remain unchanged. For example, education. Thanks to tips from professional writers CustomEssayMeister everyone can write good essays.
 
We make your all details confidential when you take homework writing help with our experts. So don't worry about the privacy just take a few steps and get help in your homework on homework helpers Australia from students assignment help.
 
Assignment help Singapore service for students need academic support.Visit More: My Assignment Help Australia
 
It’s not just the products we buy. It’s estimated that a third of all food produced in the world is lost or wasted. Do your bit by eating up leftovers and use any ingredients you have spare to make interesting meals at https://essaysprofessors.com/write-my-capstone-project.html . Try to waste as little food as possible, and compost the organic waste you can’t eat.
 
This comment has been removed by the author.
 
Only the best talents work at the cheapest essay writing service EliteWritings. The service also relies on the latest plagiarism detection software to produce the best academic writing results. It does not hire non-professional writers from Third World countries.
 
Hi there! I assume that every student once during studying at college ordered different kind of paper at writing service. I want to recommend essaywriters net which can do your paper tasks. Our essay writer service has been known worldwide as one of the most trustworthy, reliable, industrious, and devoted services in the online academic writing industry.
 
If you are not able to complete your assignment work, don't worry we are here to provide you your assignment Help. We are one of the reputed name in Australia for quality work at affordable price. We have reputed college professor who will write your assignment, it means no chances for low grades. You can try us for My assignment Help for better marks.a
 
Hello, I would like to thank you for sharing this interesting information. Moreover, this material will be definitely useful for a lot of people and for me in my marketing essay topics.
 
quickbooks is an accounting software used to maintain or create accounts records and details and if you face nay issues you can contact Quickbooks Support and ask for quickbooks tech support.
 
quickbooks support is a tech assistance provider for the issues in quickbooks and in order to fix them go to quickbooks support and they will provide you QuickBooks tech support
 
Nice post. if you are facing any kind of problem-related to home appliances and electronic devices. Geek Squad tech support team provides the best customer satisfaction service with Geek Squad chat support.
 
Nice post! Your whole text is very informative, thanks for sharing here. Detecting while upgrading is an important decision, but it is not as difficult as you think. Also https://technology.tantrasystems.com/quickbooks-enterprise-support-number/
 
Very interesting Post! People are not the only people to rely on your details to get an overview of your video content. SEO, especially YouTube, and Google, will also index them. Put a link to your site at the top of your description. This helps in ranking your site besides driving more traffic.Also visit:http://youtubeseoexpert.com/

 


The competent professionals at QuickBooks sustain facility give prompt assistance to the customers in one of the most expert method. They are constantly readily available for you to iron out all your problems.So in future, whenever if a concern occurs, you can offer a phone call to the QuickBooks telephone number to report your trouble. Quickbooks Enterprise Support experts will certainly use them all readily available sources to fix your concern in the minimal time.
 

You can call QuickBooks Enterprise support number in any kind of problem, the committed experts of the QuickBooks will certainly aid you to fix all your issues.



The competent professionals at QuickBooks sustain facility give prompt assistance to the customers in one of the most expert method. They are constantly readily available for you to iron out all your problems.So in future, whenever if a concern occurs, you can offer a phone call to the QuickBooks telephone number to report your trouble. Quickbooks Enterprise Support experts will certainly use them all readily available sources to fix your concern in the minimal time.



QuickBooks has a user-friendly interface but sometimes a new user might find some issues while using it for the first time. In such a scenario, they should dial toll-free QuickBooks Enterprise support phone number for assistance. The QuickBooks professionals are available to round the clock to assist them and solve their queries.



You can connect to the QuickBooks Enterprise support number group whenever you deal with any type of problems with Intuit QuickBooks Software Program. You can reach them to come close to the QuickBooks Technology Assistance group by calling the technology assistance contact number.



Do need any help to get fix quickbook error 3371 error so contact with our team.


Dial number to get any resulutions of quickbooks enterprise error.


Get 24/7 Quickbooks Support number for any help in quickbooks.

 


Click at link Canon.com/ijsetup and download canon printer driver or visit at website for driver.
 
BIN is used to store the DISC image, which is composed as a clue file. It is a type of binary file. BIN files can be opened on any of the platforms, as per user choice. You can save data and information in a particular folder using file extension bin.

 
Superb blog! all information really useful for us, thanks for sharing here. If you are looking packers and moving service, then contact Zodiac packers movers, here you will get best Packers and Mover in Rohini.
 
Every essay demands its college essay format and content. Usually, essay writing demands strong writing and analytical skills, which can be delivered by professional writers.
 
QuickBooks is an accounting software by which you can easily maintain your accounts and handle your transactions. if anyone is facing any kind of problem then use QuickBooks tech support.
 
QuickBooks Customer Care Support +1-844-232-O2O2. QuickBooks has come up with an illustration of brilliant ways of accounting for people around the globe by putting forward a wide variety of contemporary methods and exclusive business solutions.
visit us:-https://www.mildaccounting.com/quickbooks-customer-care-support/
 
QuickBooks helps a lot in managing accounts. However, at times the errors disturb the workflow. You can call QuickBooks Helpline Number +1-844-232-O2O2 and avail instant help in order to fix your QuickBooks related issues. Further, you can check out below about the general issue that you may face visit us:-https://www.mildaccounting.com/quickbooks-pos-support/

 
A number of customer support available for QuickBooks around the world. However, the quality and budget which we offer are unmatchable. Know more about it at QuickBooks Tech Support Phone Number +1-844-232-O2O2. Below, a few reasons are mentioned to choose us
visit us:-https://www.mildaccounting.com/quickbooks-pos-support/

 
This comment has been removed by the author.
 
Very interesting post, your whole content is very interesting. Thanks for sharing. If you receive a warning that your cash app transfer failed, it means that we are unable to fully process your transaction. For more info visit the site https://www.cashappserver.com/cash-app-transfer-failed/

 
Amazing, i really appreciate your article and thinking skills keep it up. i also want to share some important which help peoples like your article helps them to think wider and brighter Canon.com/ijsetup
 
Very useful and information content. I also share quickbooks payroll support information for quickbooks users.
 
Online cultural studies writing services have become very popular among Cultural Coursework Writing Service students seeking Cultural Studies Research Paper Services and cultural studies essay writing services.

 
Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?