• http://www.facebook.com/people/Okeowo-Omololu-Remi/542355222 Okeowo Omololu Remi

    Nice one,been looking for somethings like this since FBML is deprecated,i think that was a nice move saves me the stress of learning another non-valid markup languages. thumbs up

    • Anonymous

      Well nice to hear that, thanks!
      Did you do anything interesting with the FB APi?

  • http://www.facebook.com/people/Ming-Yi-Lo/1054454580 Ming Yi Lo

    Hello I have a problem
    I want to do a app for calendar about friends’ birthday,but I don’t know how to get friends’s birthday data into my app in detail.Can you help me something examples or code?

    • Anonymous

      In the post I gave an example:

      $query = “https://api.facebook.com/method/fql.query?query=”;
      $query .= urlencode(“SELECT uid, name,pic_square, birthday_date
      FROM user WHERE (substr(birthday_date, 0, 2) = “$c_month”)
      AND uid IN (SELECT uid2 FROM friend WHERE uid1 = me()) order by name”);

      $query .= “&access_token=”.$access_token.”&format=json”;

      This query filters on $c_month you input. If you want all birthdays, you get the WHERE clause out

  • Anonymous
  • Anonymous

    Is something error in “aasort”

    aasort($response,”birthday_date”);–>sort($response,”birthday_date”);

    • Anonymous

      aasort is a defined option. Let me upload the code this week so you can check for yourself. if you then have further questions, please take this of the comment thread and send me a personal message. thanks

      //http://stackoverflow.com/questions/2699086/php-sort-multidimensional-array-by-value
      function aasort (&$array, $key) {
      $sorter=array();
      $ret=array();
      reset($array);
      foreach ($array as $ii => $va) {
      $sorter[$ii]=$va[$key];
      }
      asort($sorter);
      foreach ($sorter as $ii => $va) {
      $ret[$ii]=$array[$ii];
      }
      $array=$ret;
      }

    • Anonymous

      aasort is a defined option. Let me upload the code this week so you can check for yourself. if you then have further questions, please take this of the comment thread and send me a personal message. thanks

      //http://stackoverflow.com/questions/2699086/php-sort-multidimensional-array-by-value
      function aasort (&$array, $key) {
      $sorter=array();
      $ret=array();
      reset($array);
      foreach ($array as $ii => $va) {
      $sorter[$ii]=$va[$key];
      }
      asort($sorter);
      foreach ($sorter as $ii => $va) {
      $ret[$ii]=$array[$ii];
      }
      $array=$ret;
      }

  • Anonymous

    Is something error in “aasort”

    aasort($response,”birthday_date”);–>sort($response,”birthday_date”);

  • Anonymous

    Now I can get my friends’ data include birthday and picture.
    There are month,day and year in birthday data,but I don’t know how to connect calendar like your app.

    • Anonymous

      I’m developing a Facebook app in which I want to display the picture of my friend against his birth date. 

  • Gokul

    Hi, you can wish your facebook friend’s birthday automatically by using the application http://www.fumes.me .which takes your friends list and send it as send by you in his/her wall. FEEL the feature of sending different birthday messages to each friends. http://www.fumes.me

    • http://bobbelderbos.com/ Bob Belderbos

      thanks for the link

  • aliul islam

     I’m not too great about remembering birthdays so I use birthdayFB. It let’s you pre-schedule happy birthday fb wall posts. http://bityhdayfb.com

    • http://bobbelderbos.com/ Bob Belderbos

      the fb version is quite ok, this was merely an exercise. that url is dead

  • My Links

  • Post categories

  • Bob’s Reading List

  • Some of my Apps

    hi folks, what are you reading?

    sharemovi.es: tell your friends about your favorite movies

    Friends Jukebox | Create a Jukebox based on the Music your Friends like!

    get to know the world ...

    keep the tweets you care about ...