Can't edit <html> tag, how to add FB Namespace - facebook

I hope this is the right place to ask this. If not could any of you please tell me where I might get an answer to this question please. I have search everywhere and find nothing.
I'm helping a friend with a site and she is use XSitePro blogging software. XSP does not allow you to edit the tag but we need to add the FB Namespace to her pages.
Is there any way to add this if the html tag can't be changed?
Thanks,
Terry

You can add the namespace to the document through script. Something like:
document.documentElement.setAttribute("xmlns:fb", "http://www.facebook.com/2008/fbml");

Related

How to make a website that redirects to a random link on a list?

I'm wanting to know how to make a redirect a simple way.
I know nothing about code (Sorry for my ignorance) but I want to learn.
So I want to make a website that only redirects, so when someone opens it will get redirected to another website.
The tricky thing here is that I want the website to select a random link in a list I will provide, so I thought I could do it on a free website creator (wix.com) and I wanted to know if someone could help me do the code for me.
Thank you a lot.
You will need Javascript and HTML for do this.
HTML just do static things, so you will need create a list with Javascript and then modify the link on html page.
Just add this to the Head on your HTML file:
<script>
window.location.replace('http://www.reddit.com')
</script>
That will redirect to Reddit as soon as you open your html file.
I recommend that you use the "IF / Else" or "for" function to redirect to different websites each time you open your web page, because you said that you are learning, so go slow. Just study Javascript or Dart and you can do whatever you want on your site.

How to integrate facebook comments on individual posts on my blog

I have a problem with my facebook comment box on my blog. I am using a norwegian blog host so it is difficult for n00b such as myself to get the instructions and where to put them in when it comes to hosts like blogger etc. Also english is my second language so I can get a lil bit confused when there's long instructions..
So, i just used the facebook comment box generator for "your website".. Anyhow.. The comment box appears, it works and that's great.. BUT, the same comment box appears on all of my posts.. And I have no ida how to sort out this mess to make them individual for each and every post...
It would be really great if ayone could help me on what tu stuff inn there or replace to make it work.
This is how the codes look like:
Hope someone can help! :)
you will find it step by step in here ^^
http://jensontaylor.blogspot.com/2012/03/integrate-facebook-comments-for-blogger.html
Sorry it is very late to answer this question, but it will be helpful for others.
To solve this problem use data-href="URL OF YOUR POST" in facebook comment div, here specify your each post url. this will show individual comment box for individual page.

Need help - FB Like button does not post to wall

Hello fellow community members,
I was unable to find a helpful answer, so I will give this a try: I recently developed a website that has a FB "Recommend" (same as "Like") button implemented. I have never dealt with this before, hence my complete lack of knowledge.
Now, I implemented the code the FB developer's Like page (--> http://developers.facebook.com/docs/reference/plugins/like/) creates correctly into the website (both the script and the DIV-tag, yet something that is not automatically generated seems to be missing and needs to be added for the button to work correctly. It currently does not post to the FB wall.
Upon doing a debugging check, I received the following results: [...]
Unfortunately, I have no clue what to do with that data. How and where exactly in the HTML code do I implement those missing TAGS and PROPERTIES? Any help would be highly appreciated...
Kind regards & many thanks in advance, :-)
Doc
It looks like you're missing the Open Graph meta tags. Those go into the head of your page.
Facebook has a generator to help you create the tags, but you'll need to add them into your markup.

facebook meta tags issue

am having a wordpress site
http://wp1.mummypages.ie/show-pictures/
i want to edit the description tag to be shared on facebook when i click like, so when i edit the header file which calls get_facebook_meta function to meta type="description content="facebook_tag" ,facebook still recieves the old description content..
I have to edit it at any cost and i don't understand the reason from where it's fetching the description and how should i edit it??
can anyone help me?? will hugely appreciate it..
Thanks in Advance :)
Please see:
http://codex.wordpress.org/Meta_Tags_in_WordPress
To add meta tags to your site, simply add them to the header.php template file in your WordPress Theme

How to add a Facebook share box to a page?

I saw many similar questions here but their answers don't work for me by some reasons.
I need the share box, not the like one.
Can anyone share a working solution?
Thank you very much
EDIT
The only working way I found is to add a link like:
Share on Facebook
But in this case there is no counter and I need it. Is there a way to do it now?
Ok, I found it here: http://www.simplebloggertutorials.com/2010/05/how-to-add-facebook-share-button-with.html
Just need to add following code:
<div>
<a name="fb_share" type="box_count" expr:share_url="data:post.url" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
</div>
very easy solution and according to the link provided by Jarede Facebook will support Share button in the future.
Much more nicer solution here: Facebook Feed Dialog
The share button has been deprecated in preference for the Like button. Probably best to keep up with the rest of the world and use Like instead of trying to implement the outdated Share.
I found this:
https://www.hs.facebook.com/note.php?note_id=10150211527410844