I've downloaded the sdk from the github and imported the facebook project into my eclipse workspace which I want to it to my project's libraries but when I import the facebook project it contains some syntax error such as
ArrayList<String> permissionsList = new ArrayList<>();
or the R is not found ... What can I do to fix this ?
These are the few errors I get after importing facebook project:
getTokenClient = new GetTokenClient(loginClient.getActivity(), // on get activity function
or
public LoginClient(Fragment fragment) { // on type Fragment
this.fragment = fragment;
}