Facebook - Android authorizes application error

I am using facebook SDK 3.0.1 for Android. I see in Facebook developers -> Insights -> Developer -> Actions and errors of some erros. I have an error that happens to 42% of my users: auth.androidauthorizeapp (error code 408: proxy application not yet installed). Many of my users cannot log in to facebook. I believe that they cannot handle this exception. I read a little about this problem and found that there might be problems with resolution at login. I use the facebook login button, and I set permissions for this button:

LoginButton authButton = (LoginButton) view.findViewById(R.id.facebook_login); authButton.setReadPermissions(Arrays.asList(FacebookConfig.getInstance().getPermissions())); @Override public String[] getPermissions() { return new String[] { "user_about_me", // "offline_access", "friends_about_me", "user_photos", "friends_photos", "user_videos", "friends_videos", "read_stream", "friends_status", "user_photo_video_tags", "friends_photo_video_tags", "user_birthday", "friends_birthday", }; } 

What could it be? and how can i solve this problem? Thanks

+4
source share
1 answer

I had the same issue with facebook login. I did not use the facebook login button, but I used the session. I just deleted if condition! session.closed and just started working.

My code is:

  if (session == null ) { session = new Session.Builder(getBaseContext()).setApplicationId(appId).build(); Session.setActiveSession(session); } 
+1
source

Source: https://habr.com/ru/post/1485991/


All Articles