mohamedmansour / fb-exporter

Facebook Friend Exporter Chrome Extension
RIP (Educational only)
MIT License
148 stars 28 forks source link

Fails to pull anything except name and profile url #12

Closed unusualbob closed 13 years ago

unusualbob commented 13 years ago

It appears facebook is doing something to block the script now. Not sure why, but just now when I ran the script I only got results which looked like:

Joe Schmoe,,,,,,,,,,,,,"http://facebook.com/profile.php?id=xxxxxxxx",,

Not sure if there's any way to fix this. Thanks.

mohamedmansour commented 13 years ago

Interesting, I see a brand new layout and approach they are taking.

I am quite busy atm, if I find time this weekend, I will look into it. Otherwise if anyone would like to contribute a patch, the source code of the DOM parsing for your Facebook information is available here:

https://github.com/mohamedmansour/fb-exporter/blob/master/js/grabber.js

It is basically just parsing the DOM and extracting information from your Facebook mobile page. Like:

http://m.facebook.com/zuck?v=info

unusualbob commented 13 years ago

Aha! It seems that if your account is set to SSL only then this grabber fails, just tested now and it seems that it is working. No need to update anything :)

mohamedmansour commented 13 years ago

Thanks for getting back to me :) I think it would be useful to place a note somewhere saying must use HTTP. Or resolve this bug. Too little time on my hands :(