Skip to content

Instantly share code, notes, and snippets.

@akeilox
Forked from alexdunae/fb-gallery-embed.html
Created April 2, 2013 11:17
Show Gist options
  • Save akeilox/5291524 to your computer and use it in GitHub Desktop.
Save akeilox/5291524 to your computer and use it in GitHub Desktop.
@akeilox
Copy link
Author

akeilox commented Apr 2, 2013

imgs.length-1 in the for-loop truncates the last image of the album.
I presume this is related to changes to FB api over the years. var i=0; l=imgs.length; gets all the images for my case (as of 02 april 2013)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment