Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Facebookdialog disappearing instantly

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

like image 380
user3445451 Avatar asked Mar 21 '14 08:03

user3445451


People also ask

Why has my Facebook app disappeared from my phone?

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.

How to fix Facebook keeps stopping on Android phone?

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.

How to fix Facebook Messenger not launching on Android?

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.

Why can’t I quit the Facebook app?

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.


1 Answers

enter image description here

> 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.
like image 103
Sagar G. Avatar answered Oct 29 '22 18:10

Sagar G.