I got a page at www.somedomain.com/facebook/index.html http://www.somedomain.com/facebook/index.html. I'd like to serve that via the apps...so via the canvas but when I point the canvas url to this directory (www.somedomain.com/facebook/) I get a page not found error on the apps page. However, hitting www.somedomain.com/facebook/ http://www.somedomain.com/facebook/ does serve index.html in a browser. Any clues as to what's going on here? Might add...there is no https page setup as yet. This is just a static HTML page that I'd like to serve via apps.
Thanks!
In order to load your page inside the canvas iframe, Facebook is issuing an HTTP POST request for the URL http://www.somedomain.com/facebook/index.html.
My guess is your server only serves pages requested using GET.
Related
Can you please help me debug this! Whenever we are sharing content links from our website in facebook; its not working. Redirection to content works if I'm using desktop browser or directly opening the link in mobile browser. But from facebook in app browser I can see either its loading 404 page or the video doesn't play. What could be the reason behind this? Please check below link from here
Either redirect from http to https in general or change the og:image to https instead of http. If you enter the URL into the browser, you get redirected: http://www.bioscopelive.com/bundles/bongoweb/images/oglogo.jpg
You can also add og:image:secure_url as metatag with the https URL of the image.
Make sure that everything is public and not locked by gelocation or login. Facebook servers need to be able to reach the URLs.
I'm trying to embed this website "http://iconnectrto.net46.net/iConnect" inside facebook.
But i keep on getting this response http://iconnectrto.net46.net/iConnect takes too long to respond.
Canvas Page: apps.facebook.com/iconnect_rto
Canvas URL: iconnectrto.net46.net/iConnect/
What is the problem with my configuration? what do i need to change in my configuration ? Please help
If you enabled secure browsing, your page needs to be served via HTTPS. As your links only show HTTP, I guess this is your problem.
I had created a facebook canvas app and till now using canvas page url as
https://apps.facebook.com/272901126185053/
But now while opening that URL its redirecting to 404 page of Facebook. Means that canvas app not exist. But which was working perfect fine earlier
I try to research on facebook Developers page but unable to get much help from it.
The Canvas URL can't be : https://apps.facebook.com/272901126185053/
It should the URL to the app where it is hosted. The link you mentioned is the canvas page.
I'm writing facebook canvas application with Rails3 using omniauth-facebook gem. The few moments are not clear:
Rdirect after sing in (in '/auth/facebook/callback' => 'session#create'):
After successful sing_in if user is redirected to root_url it sometime arrives to
my canvas page URL (http://localhost:3000) outside of the frame. On other hand, when
redirecting him to my app url (http://apps.facebook.com/my_app) it sometime stacks on
blank page inside the frame. So how to handle this redirect correctly?
What is a proper way to link between pages inside my app? Currently I use relative links and top.location url is always stay my app url (http://apps.facebook.com/my_app). But I saw that many facebook apps redirect the client top.location (http://apps.facebook.com/my_app/internal_link)... It raises one more question:
Now facebook always fetch my app into the iframe using POST method. How to handle this behavior in RESTful rails application?
I'd very thankful for any advices...
I've implemented Facebook Invite as follows: - http://www.jobwalk.com.au/invite.aspx
You can login via Facebook and go through the steps (no database update) from: - http://www.jobwalk.com.au
The problem is, when I select someone and press Send Invite and in the final stages, it does not load the Callback or Canvas URL. It just has a Facebook page with a Blank Page in its IFRAME.
Facebook application values
Site URL: http://www.jobwalk.com.au/
Canvas URL: http://www.jobwalk.com.au/callback/
Canvas FBML/iframe: iframe
Does anyone know what went wrong here?
Thank you.
You need to try with google chrome, and set debug code option (developer tools), probably some host forwarded an errorneous response to another other server, (not client).
I guess that you need a css in body because this only support 520px of width max , I'm working too in iframe facebook, I dont know if change between files type index.php or index.html