learn how to use social APIs