Page 1 of 1

Facebook Share Button Does not Return Me to My App

Posted: Fri May 09, 2014 8:53 am
by Aldrich Barcenas

I had implemented a share button as instructions on this website.

https://developers.facebook.com/docs/...

I works as intended, when I click on the button in the app it goes to the facebook share screen. But it doesn't bring me back to my app (unless I use the back button on the device).

I would like to have it to either open the device's browser or open the facebook app instead.


Facebook Share Button Does not Return Me to My App

Posted: Fri May 09, 2014 10:49 am
by Serhii Kulibaba

Hello,

Please uncheck "Render all pages in one HTML file" and check "public"


Facebook Share Button Does not Return Me to My App

Posted: Mon May 12, 2014 7:54 am
by Aldrich Barcenas

Image

I don't see the part where I check public. Where can I change that?


Facebook Share Button Does not Return Me to My App

Posted: Mon May 12, 2014 8:04 am
by Kateryna Grynko

Hi Aldrich,

You can tick it in Test button menu.


Facebook Share Button Does not Return Me to My App

Posted: Mon May 12, 2014 8:35 am
by Aldrich Barcenas

Ok, I just did these but when I click on the share button, which directs me to facebook share website, clicking on the share button doesn't give me back to my app. It just stays on facebook and I have to press back 2 times to get back at the app.


Facebook Share Button Does not Return Me to My App

Posted: Tue May 13, 2014 11:01 am
by Maryna Brodina

Hello!

Use InAppBrowser: http://docs.appery.io/tutorials/using... prewindow.open(url, '_blank', 'location=yes');/prePlease note url should look like this prevar url = 'https://www.facebook.com/sharer/sharer.php?app_id=APP_ID&u=URL';/pre
APP_ID - your app ID on facebook
URL - link you are going to share