helper script for authorizing app with facebook account

not very elegant, but it works. also called from settings page.