Welcome to the Infiniden Blog

We are a San Diego, California based web design company that focuses on website development, website design, logo design, print media design and search engine optimization (SEO). Most importantly, we care. We focus on your satisfaction and will deliver a quality product within your budget and time frame!
Visit Infiniden.com

What the heck are we doing?

Archive for 'facebook'

I’ve been looking all over for the working script that ensures in various browsers that the facebook canvas size will be set (even when using some slow loading javascript code). Just set this in your facebook APP page and it should work!

 

<div id="fb-root"></div>
<script type="text/javascript">
    window.fbAsyncInit = function () {
        FB.init({ appId: 'YOUR APP ID', status: true, cookie: true, xfbml: true });
        FB.Canvas.setSize({ height: 890 });
    };
    (function () {
        var e = document.createElement('script');
        e.type = 'text/javascript';
        e.src = document.location.protocol +
            '//connect.facebook.net/en_US/all.js';
        e.async = true;
        document.getElementById('fb-root').appendChild(e);
    } ());
</script>

 

This is really frustrating for not being able to suggest or invite a facebook group, fan page or application profile page to all your facebook contacts in one click. How do you feel to select 500 friends with 500 mouse click?

The javascript code from John P’s blog http://onemansblog.com/2009/08/30/how-to-invite-all-facebook-friends-to-a-group-event-or-page/ worked well when I used it a week back back but tomorrow I noticed that the trick is resting in peace !

I was very much frustrated when I saw the code not working anymore. I decided to resurrect the trick back to life and I am successful in doing that. But don’t know when this trick will get murder again by evil facebook ! :s

There are two ways by which you can do it.

1. By javascript code

Click “Suggest to friends” on application profile page or “Invite to friends” on group, fan page or events page.

Right click on any friend and click “open in new tab”

You will land on a page which will only show suggestion window
At this point, paste the following code on to the address bar

javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}

[or]

javascript:fs.select_all();



And there’s an even easier way to select all friends.

2. By using chrome extension known as Facebook Invite All


VIDEO:

http://www.youtube.com/watch?v=rJABucRb7I0

Get Adobe Flash playerPlugin by wpburn.com wordpress themes