Thanks for filling out our form!
Here's what happens next:

We'll write you back as soon as possible, right now we might be very busy saving the World. Give us a day or two, we'll contact you for sure.


In the meantime, perhaps you would like to take a look at one of our blog posts that explains

How do we work with our Clients
How we can help you with your business

In Touch,
Prograils Team

Prograils blog

Maciej Litwiniuk on 15.10.12 in Ruby on Rails
Post why facebook is not showing share dialog inside tab

Why Facebook is not showing share dialog inside tab

Today I struggled for few hours with non-working FB.ui share dialog on facebook tab (so no authorization or whatsoever was required). Strange thing was that script worked great in dev environment and refused to work in production.

Today I struggled for few hours with non-working FB.ui share dialog on facebook tab (so no authorization or whatsoever was required). Strange thing was that script worked great in dev environment and refused to work in production.

Code was quite standard:

First problem was that app did not show async dialog at all – without any errors. After changing dialog type to display: 'popup' I finally found a problem (with solution provided here: http://stackoverflow.com/questions/8153187/facebook-api-error-100-error-message-redirect-uri-url-is-not-properly-formatted) – in production environment my app was using underscores in domain name… After changing domain name into one that does not contain underscores, the app started to work like a charm. Even with async dialog type. I hope this will help someone.

Code was quite standard:

First problem was that app did not show async dialog at all – without any errors. After changing dialog type to display: 'popup' I finally found a problem (with solution provided here: http://stackoverflow.com/questions/8153187/facebook-api-error-100-error-message-redirect-uri-url-is-not-properly-formatted) – in production environment my app was using underscores in domain name… After changing domain name into one that does not contain underscores, the app started to work like a charm. Even with async dialog type. I hope this will help someone.

(credits: photo from unsplash.com)

Share on
comments powered by Disqus