dejanstojanovic / Facebook-Album-Browser

jQuery plugin for browsing public albums of a Facebook account
http://dejanstojanovic.github.io/Facebook-Album-Browser/
MIT License
74 stars 42 forks source link

Cannot read property 'length' of undefined #76

Closed Samg381 closed 5 years ago

Samg381 commented 5 years ago

Hello,

I'm getting the following error all of a sudden on a fb-album-browser install that has been working for a long time. This error stops the album browser from functioning.

Uncaught TypeError: Cannot read property 'length' of undefined
    at Object.success (jquery.fb.albumbrowser.js:326)
    at j (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at x (jquery.min.js:4)
    at HTMLScriptElement.b.onload.b.onreadystatechange (jquery.min.js:4)

I have somewhat modified my jquery.fb.albumbrowser.js file for theme changes, so I have attached the file below.

Any help is greatly appreciated. Thank you.

jquery.fb.albumbrowser.zip

Samg381 commented 5 years ago

Facebook Album Browser is broken due to Facebook's new restriction on user_photos within the API library. I would recommend removing this project from Github.

If the developer would like someone to test a re-written script, you can contact me at sam@samg381.com