Facebook/Twitter login from API