Posts

Showing posts from June, 2009

Caged

Image
The following shot is taken by myself with my 'point and shoot', from my bedroom window. There was a time when I was restricted to mingle with kids of my own age, just because they were from different strata of society. I still remember those days when my only friend were books and my parents. Couldn't refrain myself from drawing relevance of that feeling with feeling of the parrot looking at the sparrow.

Sharing a link to your facebook wall from your external application

Goodmorning Kolkata , a new day, a new requirement from the client. His post on basecamp says, though he appreciates the fact that a photo could be directly uploaded to ones facebook album, it doesn't really appeal him much. Why? Ummm... tough question. He wants something simpler, sweeter and less painful (uploading images from external applications to facebook required the user to approve them on facebook before they could go live...extra clicks are painful alright) than the above method. In fact facebook also realizes this I guess and thus offers us exactly what we are looking for: http://www.facebook.com/sharer.php The above URL expects two parameter, 'u' and 't'. 'u' is the link you want to share, 't' is the additional title you want to supply Facebook in case it is unable to crawl through the title of the page provided in the link. So for example a complete link should look something like this: http://www.facebook.com/sharer.php?u=http://your-we

Photo upload to Facebook from your PHP web application

Recently I was asked by one of my clients to develop a feature on his website so that a user on that website may click on a button and publish an image from his/her account (on that website) to his/her facebook account. While doing so the system would ask for the users facebook credentials. Sounds simple? Yeaah...apparently its simple but when you start getting your hands dirty you slowly realize you are in deep mess. Particularly if you are a first timer as far as developing on facebook platform is concerned. There are multiple ways to achieve this. Using facebook connect or using a facebook application specially developed by yourself to accomplish the task. I followed the second approach. I'm trying to outline the exact steps you need to perform to get this up and running with least pain. And yes, the following examples would all be in PHP . Login to facebook, click on the developers link available in the footer section of the page and follow the steps so that ultimately you end