ryu's blog just a few lines of code

23Apr/120

Howto add an application (App) to a Facebook page (with Timeline)

As the form to add an app to a page must be hidden somewhere (congratulations facebook, 5 stars for a user-friendly GUI!), you can build a link which opens the right dialog on your own. Just try the following:

http://www.facebook.com/dialog/pagetab?app_id=<YOUR_APP_ID>&next=<YOUR_URL>

3May/110

Facebook Like Button auf Deutsch stellen

Statt 'Like', 'Gefällt mir' anzeigen auf dem Facebook Button ist eigentlich ganz einfach.

Man verwendet statt der Vorgabe,

<script src="http://connect.facebook.net/en_US/all.js"></script>

folgende Javascript Datei:

<script src="http://connect.facebook.net/de_DE/all.js"></script>

4May/100

Facebook: Select all friends in group invite prompt

Open a group and click on 'Invite Friends'. Now copy the following code in your browser's address bar and hit enter:

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