Jump to content

Facebook Question


meranda2100
 Share

Recommended Posts

I want to insert this code into my Facebook page and have it work, but I am not as familar with JavaScript as CSS and HTML. I tried puting it in a post with a link in HTML, but no dice. Any one have any suggestions?java script:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}} thanks,Meranda2100

Link to comment
Share on other sites

ya JS wont work on facebook. However I have seen some applications that let people write JS in the URL and then it checks all boxes in one of those modal windows where you can select your friends to invite to something.

Link to comment
Share on other sites

That's a bookmarklet. If you want to provide some sort of interactive functionality that links into Facebook, have a look at the Facebook API.

Link to comment
Share on other sites

That's a bookmarklet. If you want to provide some sort of interactive functionality that links into Facebook, have a look at the Facebook API.
Thanks for all the help, but what is Facebook API and how do I learn the code? Thanks, Meranda2100
Link to comment
Share on other sites

The Facebook API (well, a portion of it) allows you to develop web applications that will run inside Facebook.http://developers.facebook.com/get_started.php
Thanks, I will start learning!! :)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...