I am building an android app which needs to share some content (image + text) to Facebook, using facebookDialog. The dialog works perfectly when using a Facebook developer account, but when using a regular account, the dialog appears and then disappears instantly. I have tried passing FORCE_DIALOG_AUTH, as i have seen in some similar posts, but in the best case it just keeps the dialog opened a couple more seconds. Code is pretty straight-forward:
FacebookDialog shareDialog = new FacebookDialog.ShareDialogBuilder(getActivity())
.setLink("https://developers.facebook.com /android").setDescription("a description")
.setPicture(mPlant.default_document().getServerImagePath())
.build();
LE: it looks like the dialog only works with the developer account which generated the app id, the problem is with any other fb account Thanks in advance
It may not have vanished. First, go into "Settings" and then "Apps". Scroll over to the "All" list and scroll down to locate the Facebook app listing. Is the Facebook one still listed there? If so, the app is still on the device. Don't do anything in here. Exit the settings and go back to the home screen.
Open the Play Store app on your Android phone and check if there is an update available and if yes, update your app quickly. Check if it fixes the Facebook keeps stopping error. You will see Update instead of Open if there is one. 3. Clear RAM There are a few ways to do that.
The first thing that you may want to try it for you to completely close the messenger app from your Android or iPhone device. And once that you have completely closed the app, go ahead and have your device restarted and then try to launcher Facebook Messenger one more time to check if you still have the same problem.
Some users have reported that sometimes when an app is misbehaving and not working as intended, they were unable to quit the app. At times, the Facebook app stops responding, and you are unable to hit the back button or do anything else. In such a situation, you will have to force quit the app. To do so, open Settings and tap on Apps.
> hope this image makes it clear that unless you make this app live you
> cannot test it from other account.
> There are solutions to add tester
> accounts if you want to test it from any other account instead of developer account,
> then in "Roles" tab add a tester account,then test
> through this account.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With