javascript

How to get userids of Facebook friends from Friend Selector dialog box

Posted by on August 16, 2011 at 3:42 pm

Recently I was developing a Facebook app for a client which requires to invite user friends. For this I used the FB.ui apprequests method. I also need to get the user ids of Facebook friends the user has invited. My initial approach was to print the response of the apprequests method, but it gave undefined object error. Here is what I tried initially and that didn’t return the userids.

How to show a loading gif image while a page loads using javascript and Css

Posted by on May 31, 2011 at 2:20 pm

Sometimes you want to hide a page from users while it is loading and show an animated gif loading or wait image instead of it. You can check demo.