android - Application ID is not registering in the graph -
I have developed an Android app, and I have successfully integrated the Facebook SDK in your app.
I did a few tests before the HelloFacebookSample app that comes with Facebook sdk.
The application ID given in the UserGraph instance in HelloFacebookSample has worked well in the graph API.
Like this
or like it
to know that 1531414210465350 is
in but when I link attempted to insert your own application ID in the graph, is I get an error:
{ "error": { "message ":" get unsupported request. Please read the graph API documentation on Https://developerskfacebookkcom/. docs / graph-API "," type ":" Grafmathaksepshn "," code ": 100}} I'm missing something but I do not know any suggestions I'm thankful
This is main activity code:
The public class provides getJID fragment expansion {Private Static Last String Permission = "publish_actions"; Private login button login button; Private UiLifecycleHelper ui Helper; Private session. Stats callback callback = New session. Status callback () {@ Override public zero call (session session, session state state, exception exception) {onSessionStateChange (session, state, exception); }}; Protected Zero on the Active Result (int request code, Inc. result, code, intent data) {super.onActivityResult (requestCode, resultCode, data); Session Gateactive session () OnActivityResult (this, requestCode, resultcode, data); } @ Override Crate on Public Zero (Bundle Saved Instantstate) {Super.Nought (Saved Instantstate); SetContentView (R.layout.facebook_login); UiHelper = New UiLifecycleHelper (this, callback); UiHelper.onCreate (savedInstanceState); Session session = session Gate active session (); LoginButton = (Login Button) FindVBIID (R.DD. ConnectWithFebbutton); LoginButton .setUserInfoChangedCallback (New LoginButton.UserInfoChangedCallback () {@Override public void onUserInfoFetched (GraphUser user) {if (user! = NULL) {try {System.out .println ( "The user object" + user.getId () );} Catch (exception e) {System.out.println (e.getMessage ());}}}}); } Private void (session on Change Seshnstet session location, exception exception) {if (state. Official ()) {System.out.println ( "session is prohibited"); } And if (state.isClosed ()) {System.out.println ("session is closed"); }}} It is known that I had ID your application manifest and Scopd app ID everything was not mapped to log profile is working fine except.
Comments
Post a Comment