Please update the below code of your application. It will solve your problem.
public void loginAndPostToWall() {
facebook.authorize(this, PERMISSIONS, Facebook.FORCE_DIALOG_AUTH,
new LoginDialogListener());
}
More Related Contents:
- Embed activity feed of a public Facebook page without forcing user to login/allow
- How do popular apps authenticate user requests from their mobile app to their server?
- How to check if user is logged in with FB SDK 4.0 for Android?
- What APIs are used to draw over other apps (like Facebook’s Chat Heads)?
- Android and Facebook share intent
- Android Facebook SDK 4 in Eclipse
- App is misconfigured for Facebook login: Android Facebook integration issue
- Facebook key hash does not match any stored key hashes
- Unable to add window — token android.os.BinderProxy is not valid; is your activity running?
- Login failed invalid key error with Facebook SDK
- Open Facebook Page in Facebook App (if installed) on Android [duplicate]
- Android: How to share image with text on facebook via intent?
- ASP.NET Web API Authentication
- Share image and text through Whatsapp or Facebook
- When to request permissions with Facebook’s new Android SDK 3.0?
- Using Google account to log in to an Android Application
- Facebook authentication without login button
- Android WebView for Facebook Like Button
- How to create XMPP chat client for facebook?
- How to programmatically log out from Facebook SDK 3.0 without using Facebook login/logout button?
- EditText underline below text property
- How to check if Facebook is installed Android
- App getting stuck with E/com.facebook.internal.AttributionIdentifiers [duplicate]
- How to share photo with CAPTION via Android share intent on Facebook?
- How to disable Facebook single sign on for android – Facebook-android-sdk
- Android Facebook api 3.0 error: Cannot call LoginActivity with a null calling package
- remote_app_id does not match stored id – exception
- Facebook API login fails with FB app installed on phone
- Android share intent for facebook- share text AND link
- Post message to facebook wall from android fb sdk always error