added facebook api stuff