android - Is there a way to get people's Facebook liked Pages? -
i'm developing app, , wandering if there way user's facebook liked pages. looked intro facebook sdk found facebook login, sharing, analytics , monetization.
basically want access user's liked pages can make recommendations user based on that.
yes, possible through graph api
according official documentation, should integrate official android sdk application. following snippet might solve needs. take on graphresponse object results:
/* make api call */ new graphrequest( accesstoken.getcurrentaccesstoken(), "/{user-id}/likes", null, httpmethod.get, new graphrequest.callback() { public void oncompleted(graphresponse response) { /* handle result */ } } ).executeasync();
Comments
Post a Comment