GetOGObjectLikesRequestWrapper(String objectId, LikeView.ObjectType objectType) { super(objectId, objectType); this.objectId = objectId; this.objectType = objectType; Bundle requestParams = new Bundle(); requestParams.putString("fields", "id,application"); requestParams.putString("object", this.objectId); setRequest(new GraphRequest( AccessToken.getCurrentAccessToken(), "me/og.likes", requestParams, HttpMethod.GET)); }
default: likeRequestWrapper = new GetOGObjectLikesRequestWrapper(verifiedObjectId, objectType); break;