2

I have get error cannot resolve Request. Which library should I import?

new Request(
    session,
    "/{user-id}/taggable_friends",
    null,
    HttpMethod.GET,
    new Request.Callback() {
        public void onCompleted(Response response) {
            /* handle the result */
        }
    }
).executeAsync();
Kyle Calica-St
  • 2,629
  • 4
  • 26
  • 56

1 Answers1

0

I cannot comment so sorry for the answer.

I am also new to Android programming and I believe that in the new Facebook SDK that sessions was taken out so this maybe why it is not working.

Check the changelog to be certain and your version of facebook sdk, mine is v4.0

https://developers.facebook.com/docs/reference/androidsdk/request

Kyle Calica-St
  • 2,629
  • 4
  • 26
  • 56