Facebook like box won't work with Facebook connect - facebook

I have both like box and connect on the same page and I am trying to get the html5 or xfbml code of the like box to work with Facebook connect but it won't. Only the iframe code will work but the thing is I can't customize anything in iframe. Any advice?

Have you got:
xmlns:fb="http://www.facebook.com/2008/fbml"
In your html open tag at the top of you page?

Related

facebook facepile connect shows two different messages

i have implemented facebook facepile via XFBML on two pages. one is home page and other is signup page.
Both pages have same code on it. (using include function, so im 100% its same code) even the XFBML code is same (using include function)
if i open up home page, it shows me
Be the first of your friends to like this.
and if i open the sign up page, it shows me
Basit is using Stackoverflow
does anyone have any idea why its doing this?
i been trying anything to fix it, but its not working.. cant find any solution online eaither.
dont use data-href="url_of_the_page" in <div class="fb-facepile" data-max-rows="6" data-width="292"></div>

Get parent page html content from facebook iframe?

Here I am working with facebook application.
I have create page which are working in facebook iframe window.
I want to access main(Parent) window html source from iframe which create by me.
Here I have tried for
parent.document and window.top.document and window.parent
all three are not working in my case. If you have any other idea then let me know,
Thanks
You can't access content outside of your IFrame.
Otherwise you could change content outside of it and modify Facebook,
just because your IFrame is loaded inside of Facebook ;)

Facebook Iframe link only open within the iframe

I feel like people have been having the opposite of this problem, I cannot figure how to have links open up outside of fb and not with the iframe.. I am posting material that rests in an FB app hosted by my server. The page has links to other sites, but when they open up they are still in the facebook iframe.
using basic:
<a href= "http...."><b>Blank.com</b>
looks like this
Click link...
I'm a rookie and any help would be great. Thanks
target="_blank" works if you have set up an app for the iframe.
Have you tried the target attribute?
example.com

Finished writing my Facebook App, how do I get it into the tab?

I'm changing from using Static FBML to dynamic pages. The only XFBML tag I'm using is fb:like.
Anyway, it renders fine on my test server, and then again on facebook under the app's URL.
I want to put it on the tab of a Fan page I manage.. how can I get it on there?
IFrames aren't available in tabs yet... you need to use FBML and fb:like is not a valid FBML tag.
They wanted to change this because they are beginning to deprecate FBML. But you should try the iFrame hack instead.
I'm not able to find it on google right now but it works like this:
You create a fb:js-string with the fb:iframe tag in it and then load it in a div as soon as the user clicks something.

Adding LIKE plugin under fan page tab

Is this possible?
I tried and getting error FBML Error (line 50): unknown tag "fb:like"
This is possible but it is tricky. As fan pages are only FBML, the only way I found is to load some html code thought an Ajax call, and that code contains an iframe (which will be a page containing your fb:like social plugin).
Problem is that facebook doesn't allow to autorun code, you need the user to click on a link or a picture to make this happen.
You can try this solution, replacing "http://www.helloworld.com/iframe.php" by a valid page with you like button:
http://forum.developers.facebook.net/viewtopic.php?pid=262170#p262170