I have lots of Facebook Fanpages, and I have been told on many occasions to change to iFrames. Facebook developing isn't really my main thing so I havent kept upto date with the change as FBML worked for me.
I have asked a recent question about rotating images and it seems that iFrames will be able to handle this.
Can you tell me what are the good things about iFrames?
Is there an iFrame service without thirdpart branding (i.e WildFire logo at the bottom of page)
Thanks for your help
You should be switching as soon as possible from fbml fan pages to iframe fan page because the FBML pages have been deprecated (you can't create new fbml pages) and it is likely Facebook will start killing FBML page support for existing pages, with little to no notice.
The biggest benefits are almost all javascript code will run now and without making a user first click somewhere. Laying out pages is a lot cleaner. And you don't have to learn the fbml tags. You just make a web page like you normally would and it should run just fine, as long as you understand that iframe code is sandboxed due to cross domain limitations so you can't try to modify its parent (the Facebook page)
I don't know of any iFrame services, but iFrame pages are so simple - you just host a plain html file or webpage somewhere on a server anywhere and tell Facebook the url for it. Do note though that the site it is hosted on should have an SSL certificate for users that visit your page with HTTPS enabled on their Facebook account.
Related
Or they are dead now?
What is the next alternative for facebook tabs?
I want a HTML/PHP page using FMBL on my facebook page, but I am not sure if it is still possible.
FBML is deprecated, the "Static FBML" App is not available anymore.
You could try this now: https://www.facebook.com/staticHTML
I did not test it though, and the best way to create tabs is to create an app on your own:
https://developers.facebook.com/apps
It´s not really hard to do, tabs are just iframes and you can program the pages like a real website. Just keep in mind that you need a server with SSL for canvas apps and tab apps.
I want to open my small platform to developers, so they can build applications that could be inserted in our site as iframe. Similar as facebook is doing, but no, I am not trying to build another Facebook:). From what I understand developers can build facebook application using iframe.
Question: I am wondering how is about security from facebook user perspective. How Facebook prevent that application developer doesn't put malware javascript code inside iframe. I haven't noticed any automatically mechanism that prevent including something like that in iframe.
tnx
No, this is not a problem at all, I think you are worrying for nothing.
There are no security issues that you need to worry about yourself, the loaded page in the iframe is sandboxed, and is "guarded" by the browser.
The two iframes can't even communicate with one another since they are not sharing the same domain, and modern browsers will block any attempt to execute javascript code in another frame if the two frames have different domain.
The thing that facebook did was to workaround that problem, each iframe app in facebook loads the facebook javascript sdk which then enables the nested iframe to make requests to facebook and be notified (by callbacks) when the data returns.
As for "malware javascript code inside iframe to attack user computer via browser", the iframe has the same exact security policies enforced by the browser as any other browser page, if someone manages to somehow bypass those policies then it has little difference where it's loaded, and facebook are not enforcing any other security measures.
The only thing you need to worry about is that scripts inside the iframe will be able to access your scripts and/or dom, which should not happen unless you create a machnism which will let them (somehow bypass the cross-domain policy).
I have installed the vBulletin Facebook app for a client, and am trying to link the app page from within the sidebar on the Fan Page for the site. However, the page returned upon clicking the link is blank. I think this may be a fault on vBulletin's side (which sadly has little to no debugging facilities that I can see), possibly the referrer does not match the App URL. Has anybody come across this problem before?
Any possible workarounds via Facebook? I have tried setting the Page URL to the apps.facebook.com URL but it didn't work and through a search I've found that it's not the right approach anyway.
Edit: I have also tried iframe within an iframe, like setting the page url to a page and having an iframe in that one. It didn't work, but then again it's fairly obvious why it didn't. The last resort I think would be to see if I could reverse engineer the vBulletin code to ignore referrers or allow a different one (if it's even the problem).
Double edit: Perhaps just a way to send a link off to a new window via the app tab??
Thanks
Is it coming from an SSL site? I think now all fan pages have to come from an SSL site or they will error out. -Buddy
Up until about 2 weeks ago, if you visited a Facebook Fan Page on an Iphone through safari (not the Facebook App), it brought you to the normal internet version of the site. This made it very easy to have control over what people saw first when they visited the page by creating an app and then specifying the app related tab (page) as the default landing page for users.
In this way you could include a "like / reveal" (Fan Gate) page and have the same type of incentive and offer translate directly to the iphone viewers as it had been seen on the internet using a computer. (still not sure how it looks on Android)
Since they added the redirect that forwards mobile browsers to their m.facebook.com page, if you try going to a specific fan page, it brings you to the "Wall" as the default and doesn't seem to even show the special tabs you created through an app -completely ignoring what ever defaults you had set up in the app!
Has anybody figured out a way to have a mobile browser pay attention to the default page named in the app or somehow disable the mobile browser redirect so it goes to the standard page. This is very important for using with QR codes, since you used to just link the QR directly to the fanpage address and it worked pefect, but now simply leaves the people a little confused about the offer you were promoting.
Thanks for any help on this!!!!!
I have looked around and around for hours now and messed about with different pieces of code and I am at a loss.
I am only a begginner at PHP so I am learning it as I go along. I get how authorisation works and I have managed to get the app authorised, just once the app has been authorised the application redirects the user to the full canvas page on my website instead of displaying my canvas page in the iframe within Facebook.
I can't for the life of me work out how to change this so the redirect redirects to the iframe and not my website.
I would really appreciate some help on this matter.
(P.s. I know there are similar topics to this and I have read quite a few and have found nothing that has helped me solve my problem)
Many Thanks
Scott