anelezeravla
Posts: 0
Joined: Tue Oct 01, 2013 12:00 pm

Facebook share button works on browser but not on device

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!

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Facebook share button works on browser but not on device

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?

anelezeravla
Posts: 0
Joined: Tue Oct 01, 2013 12:00 pm

Facebook share button works on browser but not on device

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

anelezeravla
Posts: 0
Joined: Tue Oct 01, 2013 12:00 pm

Facebook share button works on browser but not on device

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?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Facebook share button works on browser but not on device

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

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

Facebook share button works on browser but not on device

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

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

Facebook share button works on browser but not on device

I get this code:

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

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Facebook share button works on browser but not on device

Hello,

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

Return to “Issues”