Weekend is almost over. How did I do on my goals?
First the good, I played with facebook api. I figured out a few key things. I setup repository to store code.
Then the bad, I didn’t run at all this week. I did rock climbed twice. I also used stepper but just for ten minutes.
Lastly, the ugly, I could not work on SCJD project. Only thing I did was setup repository.
So the goals for this week are:
- to run at least once
- setup contractor class for SCJD
- display all your friends photos
Well actually it took much longer than 10 minutes because I got into some issues. First check out my app. It doesn’t do much but its the beginning. The end goal being the dating website.
So here is what I ran into. I followed this tutorial. My webserver uses php4 but the tutorial I got from facebook was for php5. PHP4 does not support try… catch blocks. (I didn’t know that). I had to modify the appinclude.php like this:
//catch the exception that gets thrown if the cookie has an invalid session_key in it
if (!$facebook->api_client->users_isAppAdded()) {
$facebook->redirect($facebook->get_add_url());
}
/*Commented out this section, not sure how to deal with this just yet.
{
//this will clear cookies for your application and redirect them to a login prompt
$facebook->set_user(null, null);
$facebook->redirect($appcallbackurl);
}*/
Then like many other’s I had to upload simplexml44-0_4_4 in php4client directory.
After that it worked like a charm.
So that was the first step towards one of my 2008’s objectives.
I know its a bit late for new year’s resolutions. I actually made these resolutions at the beginning of the year but I haven’t made much progress on these. One of my favorite blog write, recommends that if you are unable to keep your resolutions, then make those resolutions public. Let everyone see your resolutions. Then make yourself accountable by reporting your progress to those who you know about your resolutions.
So I plan to announce my resolutions for this year, and I will report at least weekly progress on these resolutions. Here are my resolutions:
- Get my SCJD Certification
- Run for an hour (I can run and walk for an hour)
- Learn Arabic (I am going to weekly classes)
I am also adding my big project of making $1,000,000 to this list. I was talking to Karl and he told me why don’t you make dating website. After some thought I figure why not make this dating website for facebook. A lot of my developer friends are into facebook apps. And I like my friend, Jordan’s saying that in order to get rich you don’t need an original idea. You can use any idea or business and just execute it better. So I think I can make a better dating app for facebook. (although there are already tens of such apps). I don’t think this dating app will make me money but it will be sort of proof of concept.
So I have 4 tasks to report on every week and hopefully more often.