Page 1 of 2

Facebook share button works on browser but not on device

Posted: Thu Oct 24, 2013 2:08 pm
by anelezeravla

I have encountered the following problem: I have added the facebook share button, it works on browser, but does not show on android.

On the browser debug console, the following message appears:

"The application configuration does not allow the provided URL: One or more of the provided URLs are not permitted by the application configuration. They must match the URL of the website or the URL of the main page of the application, or the domain must be a subdomain of one of the application domains."

I've been looking for possible ways to fix this, but I don ́t find anything that work it.

Any hints on how to solve this?

Thanks!


Facebook share button works on browser but not on device

Posted: Thu Oct 24, 2013 2:58 pm
by Kateryna Grynko

Hi,

Facebook share button indicates an Internet link to your friends.
When you run it on a device, what is the link you want to share?
Do you run app on desktop browser or on device?


Facebook share button works on browser but not on device

Posted: Thu Oct 24, 2013 3:45 pm
by anelezeravla

Hello,

  • The link we want to share is stored in a variable (will be shown dinamically)

  • The app is to be run on mobile device.

    Thank you


Facebook share button works on browser but not on device

Posted: Thu Oct 24, 2013 6:33 pm
by Kateryna Grynko

Please take a look at here: http://stackoverflow.com/questions/14...


Facebook share button works on browser but not on device

Posted: Fri Oct 25, 2013 10:13 am
by anelezeravla

Let me check if I got ir right. First I have that export my application to Eclipse project and after that, install the plugin share of phonegap and compile the app from Eclipse IDE.

Is that correct?


Facebook share button works on browser but not on device

Posted: Fri Oct 25, 2013 10:59 am
by Maryna Brodina

Hello! There is no need to export to Eclipse. You can do that in Appery.io editor on Source tab.


Facebook share button works on browser but not on device

Posted: Fri Nov 29, 2013 9:10 am
by Alex GG

Maryna, katya,

Which is the embedded code to use the SHARE BUTTON for sharing a link on facebook?

I used this in an HTML component:
https://developers.facebook.com/docs/...

but doesn ́t show anything. I also used this code that you posted :

Of course I change the link, but I just want the share button without the count.

Hope you you can help me.

thanks


Facebook share button works on browser but not on device

Posted: Fri Nov 29, 2013 12:50 pm
by Maryna Brodina

Hello! https://developers.facebook.com/docs/... - did you set here appId?


Facebook share button works on browser but not on device

Posted: Fri Nov 29, 2013 9:53 pm
by Alex GG

I get this code:

but if a add to the HTML component, nothing appears. Can you help me how to solve this?
thanks


Facebook share button works on browser but not on device

Posted: Fri Nov 29, 2013 11:29 pm
by Igor

Hello,

Are there any errors in browser console?
http://docs.appery.io/documentation/d...