Archive for June, 2010

iPhone, Facebook, oAuth 2.0 and the Graph API. A Tutorial, Part 2.

29 Jun 2010

NOTE: I’ve moved the source code for this project to Git Hub, please get it here:  http://github.com/reallylongaddress/iPhone-Facebook-Graph-API
Preface
In part 1 of this tutorial we walked through obtaining an oAuth 2.0 access token from Facebook via an iPhone (or any iTouch device).  If you wish to go back and review the oAuth 2.0 process in some detail HERE.
In the second part of this tutorial I’ll show you how to leverage my pseudo-API to:

Login to Facebook using oAuth 2.0
Request extended permissions for your mobile application (photos, videos, publish stream and offline access)
Get your profile data
Get your friend list
Get your feed
Post to your feed
Post a photo (via a local image (UIImage) not a url)
Get metadata
Delete a feed post (via a Post)
Get search results
Get (and display) the author’s avatar

Convention
There are 2 APIs being talked about in this tutorial. To avoid confusion, I’m going to refer to them consistently as Facebook’s  ‘Graph API’ and my…

...Continue Reading

Free Mentos!

25 Jun 2010

I opened Facebook this morning and as 10,000 others did in the last hour, saw and clicked on the talking mint. I was kicked over to a “Like us” landing page and clicked the like button.

I then agreed to install the mentos coupon app (and let it have access to my friends and profile information). After that, I was sent out of Facebook to SmartSource coupons which for security and fraud prevention wanted to run / install a java apple, promising coupons afterward.

Coupons may or may not print. Around this point I began to remember the portion of behavioral economist Dan Ariely’s ‘Predictably Irrational‘ that dealt with the lengths people are willing to go to for “Free.” “Free” is like a bug zapper for consumers. You may know better, but it’s not likely you’ll be able to stop yourself. These free Mentos…

...Continue Reading

The Wisdom of Crowds

22 Jun 2010

I wonder if James Surowiecki thought that crowdsourcing was poised to become an internet hot topic when he wrote The Wisdom of Crowds. Whether or not he knew, his book certainly got to the strategic core of the why’s and how’s of the power of the crowd. I read that book in 2004 and I was simply passionate about it. I wanted to understand how to better harness the concept of aggregate thinking (not crowd thinking) to make better decisions.
Throwing money into the abyss?
I was quite excited when Kiva first opened its (virtual) doors. Kiva harnessed the power of storytelling, as well as ease of online payment, to help online individuals make a difference they felt connected to. I was equally excited when I watched the rise of crowdsourced funding in the startup world. I believe there is value in this. I know some people who argue that it’s just…

...Continue Reading

World Cup 2010

18 Jun 2010

By any measure, the World Cup is a pretty big deal. 2010’s games will land among the most watched sporting events in history. This time it’s not just about eyes on televisions, though. The last time the world cup came around, Facebook had about 7.5 Million users. Twitter was less than three months old with 500 users. This time? Twitter is peaking at ~3,000 tweets per second when goals are scored.
The experience for the non-attending fan is far richer than before. Aggregators like tweetbeat add context and commentary while watching matches (especialy with the sound off). Location-based networks are helping to bring fans together in the real world. I set off on a rainy Satruday morning to catch the first U.S. match vs England. Foursquare let me know which bars and restaurants the largest groups of people were gathered at and which…

...Continue Reading