Team:TU Delft/fb listalbums
From 2010.igem.org
(Difference between revisions)
(→Running) |
|||
Line 11: | Line 11: | ||
<div id="fb_scriptload"></div> | <div id="fb_scriptload"></div> | ||
<div id="albumlist"></div> | <div id="albumlist"></div> | ||
- | |||
<form onsubmit='return updateAlbumView()' > | <form onsubmit='return updateAlbumView()' > | ||
Line 46: | Line 45: | ||
for(i=0;i<albums.length;i++) { | for(i=0;i<albums.length;i++) { | ||
var item = albums[i]; | var item = albums[i]; | ||
- | html += '<div class="fb_album"><a href="' + item.link + '">' + item.name + '</a>: ' + item.id + | + | html += '<div class="fb_album"><a href="' + item.link + '">' + item.name + '</a>: ' + item.id + " <input type='submit' value='Generate code' /></div>"; |
} | } | ||
$("#albumlist").html(html); | $("#albumlist").html(html); |
Revision as of 12:11, 19 October 2010
What to enter?
You need to find a facebook page number, or any other facebook object number that has albums in it. For example, if I go to the iGEM TU Delft facebook page, the browser location shows:
http://www.facebook.com/#!/pages/TU-Delft-iGEM-team/112242102125963
The last part of this is the Facebook page number, which can be entered into the box below.
Running