example of using facebook api