How can I publish my GWT application on Facebook?
EDITED:
Facebook requires from the application to have some FacebookSDK configuration in <body> tag on index.html page.
The GWT-generated index.html doesn't contain the <body> tag at all, (it has <bodies> instead o_O ).
How do I do that?
I tried to add these lines to the <bodies> tag and upload app to facebook, but when I click "next" on App QuickStart page I get "Something went wrong. We're working on getting it fixed as soon as we can." Facebook popup.
The app is generated by libgdx and works perfectly in browser on my own server.
Is there better way to publish GWT app?
There are some docs and question here and there, but it looks like they are related to old approach. Thanks!
Related
It was working before as it should be: Clicking on my website url from facebook native app (shared post) redirects to the App store when my native app is not installed. If my native app is installed, it opens the url in my app.
I have all the required meta as well as this one:
<meta property="al:web:should_fallback" content="false" />
Suddenly, redirecting to the app store when my native app is not installed stopped working.
Does Facebook no longer support al:web:should_fallback meta tag?
Everything was working fine!
I want to let you know that the issue is now fixed. It was a bug on Facebook object platform. I submitted a bug report on the Facebook bug tracker and they reproduced the problem and fixed it.
I'm trying to implement the new AppLinks API for my Application to route the Facebook-Users to my mobile App.
I've set up the meta correctly, but the Facebook App opens always the URL within the internal Web-Browser (but it shows then at the top right, but that a normal User wouldn't know for what it stands for and wouldn't klick on it).
<meta property="al:web:should_fallback" content="true" />
But if I set the should_fallback to false, the Post is opened directly in the App - But then the Fallback to the WebApp doesn't work anymore.
<meta property="al:web:should_fallback" content="true" />
So Facebook doesn't implemented the AppLinks implementation correctly (so that it doesn't make sense) or did I forget something?
Facebook Documentation
PS: On Android it works correctly: After clicking on a Applink it opens directly my native App, and if the App is not installed then it opens the normal Web-Page
For the Pinterest iOS App this way also doesn't work - but there the Implementation is better than it is in Facebook - There a Infobox is shown to the User:
Does it exist a better solution for iOS or have I to wait until Facebook is investigating into this (if they do)?
I am not sure my comment will be useful but we met similar situation. At same time while we tried to solve issue with fall back we found that everything works well for Instagram. We compared our metatags and found that we have only one difference. It is additional metatag fb:app_id. We added it to the page and magic happened. When app is installed then fb suggest to open it. When it is not installed it does redirect to web url (og:url).
I need to implement the facebook connent on UIWebview using HTML5/ Javascript. Presently what I implemented is working fine on iphone safari but not in native application. Please Suggest. Thanks
when the app loads up have it open a web view that point to a website that does what you want it to. see facebooks graph api documentation for web apps/websites
I'm working on this kind of app also. I haven't finished it yet but after googling I found just this link that seems to work with UIWebView
http://suhinini.me/2011/05/24/embedding-facebook-social-comments-plugin-to-an-ios-application/
I've tried the HTML5 code on the comment plugin page but it doesn't work. The UIWebView just shows nothing.
I'm still looking for the best solution.
edited
Ok now I got my app working. What I did was creating a HTML file, containing the code from facebook comment plugin page, and put it in my project (I think this should work fine with file on server also). I use this
[UIWebView loadHTMLString:baseURL:]
since my HTML file is local.
This is the facebook comment plugin page
https://developers.facebook.com/docs/reference/plugins/comments/
I had links that worked before timeline, and since we moved to timeline, they don't. We are using the Facebook iFrame for our content.
What is going on? When we click on the link, it seems like something is blocking the browser from changing the page.
http://www.facebook.com/Activis?v=app_179997328701001
Edit : I'm still investigating that problem; One thing I should mention is that only links that go to another Facebook App don't work. The ones that go to something else than Facebook (A blog, Twitter and Linkedin) work fine.
TommyBs Wrote:
Is the target of the links the same frame? I find sometimes that facebook doesn't let you redirect to an iframe of facebook. E.g - Make sure you either set the link to target="_top" or make sure it is a full url of an app and not the app on facebook. Otherwise you're basically loading an iframe of facebook, with an iframe of your app within the existing iframe
Yup, putting a target="_top" on my links worked. Thanks!
I'd like to place my google docs form(for newsletter sign-up) on my facebook page.
using this tutorial I was able to create an app, but no content showed http://www.hyperarts.com/blog/adding-iframe-application-to-facebook-fan-page/
So I wanted to know if there was another way of doing this, or anyway of doing this at all.
I had the same issue with using the iframe that google docs give you and using the url for the application tab on Facebook. The resulting facebook page is blank.
What I did to resolve this is whip up a simple html file that does the embedding from google and placed it on my (ssl encrypted) server. Then I used the url to that file as the application tab URL in my facebook app. Viola it worked.
Is Facebook not allowing embeds from docs.google.com? There's a simple workaround.
Here's the code from my html file on my server with the formkey mangled to protect privacy.
<html>
<body>
<iframe src="https://docs.google.com/spreadsheet/embeddedform?formkey=dGhOU" width="500" height="780" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe>
</body>
</html>
There's a php class that i've been using. It provides functionality to capture form elements into a google doc.
That's a possibility but requires a larger learning curve if you're not familiar with PHP:
http://code.google.com/p/php-form-builder-class/