web 2.0

Facebook Connect SDK for WebOS

I have been trying to get Facebook Connect working on WebOS and having no luck of googling the answer, so I've decided to build it myself.

Below are the steps you need to get it working

Step 1

Create a facebook app at http://www.facebook.com/developers/createapp.php

Step 2

Setting up the website to your domain, in my case would be www.paschar.com, but you need to set it to anything that suites you

Step 3

Create your callback url on your website, which can be any url, in my case it's www.paschar.com/webos/callback.  Set it automatically redirect to following authorizing url upon receiving "code" in the QueryString

https://graph.facebook.com/oauth/access_token?client_id=[your clientid]&redirect_uri=[your redirect url, i use the same one]&client_secret=[your client secret]&code=[the code you receive form querystring]

Step 4

Now that everything you need outside of WebOS is done, you can download my "facebook webos sdk" from https://github.com/Nyceane/facebook-webos-sdk make sure you change the link to your own callback url in fbconnectassistant.js.

You should be able to see following screens step by step when successful.

  

 

 

If you find this helpful please feel free to make any comments or give donation.  I am trying to raise $7,500 to attend TED2012 Conference.

 

Tags: , , ,

Blog | WebOS

Android Twitter Integrator

Twitter has become very popular over past 2 years, mostly because its so open and everybody can have access to it.  So while rewriting Pickup Sports for Android, I thought it would be nice for users to tweet about their games.  But over few hours of googling it has become harder than I thought, majority of the API guides are out there are focusing on how to access Twitter itself through different of authentication methods.  All I want was for users to tweet about something very simple, and the only guides I was able to find was the ones integrating with TwitDroid, that wasn't even Twitter's official app.

So I write this little open source script for those who wants to integrate their android app with twitter app, and when twitter isn't installed it will automatically searching for TwitDroid through intent

https://github.com/Nyceane/Twitter-Android-Integrator

I'll write an example on how to use it next time.

Tags: , , ,

Android | Blog

Developer Entrepeneur, Coding vs. Business Plan

I've been coding a lot of stuff for the past couple of years, I've done consulting for a lot of people, and ultimately I do want to start a business that can sustain myself and grow to be something bigger, and eventually extract myself from the system have my 4 Hour Work Week.

A lot of my colleagues have always focused on how good their coding skills are, I'd admit it's important, but it's not as important as the Business Plan.  And as a Developer Entrepeneur out there, I'd want to focus more on business side or finding a marketting guy who can come up with business plan as a co-Founder.

I had a lunch conversation with my Co-Worker Denny Ferrosoli about my current job at Casting Networks, we were talking about how to upgrade the system and makes it better in terms of both user interface as well as code behind so it can be easily maintained, this way it reduces the cost as well as hassle for the developers, and it will be prettier to the end user.   But there is a big problem, the Founder of the company has resisted the changes for that project (not allowed to say, NDA) since the user have everything they needed.  The business runs regardless what technology we used, how good our code was, or how our users demanded certain functionalities.  This maybe a niche market where people can't break into the business easily but it's a great example making me realize what's more important in a start up.

This reminded me of my last job at a start up named Mitochon Systems, Inc.  The moment the we the developers poured our heart and soul to finish the prototype just so that the managment can present, entire development team was offshored to India.  There was heavy usage of 3rd party component to shave time which makes it very hard to maintain, but it didn't matter, the business can present the prototype to the VCs for their funding.

These are just some of the experiences I've gone through where Business Plan was clearly more important than the technology itself, it is an Entrepeneur's job to figure out how to build a business model rather than a technology that's just cool.

Tags:

Blog | Business

DISQUS on your BlogEngine.net

After googling for 2 minutes, I've found http://www.hamishgraham.net/post/Enabling-Disqus-Comments-in-BlogEngineNET.aspx on how to set up DISQUS on my blog, which is a lot nicer tool than blogengine's default comment system.

I just want to thank him for providing me this tool.  If anybody else is using blogengine and trying to set up DISQUS, that's a good reference to go to.

Tags: ,

Blog | BlogEngine.NET | asp.net

First blog

This is my first blog using this blogengine.net.  I am not very impressed with their setup.

Tags:

Blog