social network API's written in java