When should i use HTML5 or XFBML? - facebook-like

If the doctype is , should we be using the HTML5 facebook id, and when the doctype is using xhtml, should we be using XFBML?
Are these the determining factors?
When is using the IFRAME option more ideal than the HTML5 or XFBML?
There isnt much information on the facebook site
Thanks in advance

Related

How to hide the Post comments in the yammer feed

One the client requested to hide the Yammer post comments box in the yammer embed feed section on few pages. Since it is iframe we were not able to handle using CSS.
We have tried yammer event with JS to hide. But it didn't worked.
Is there any other way to achieve this?
There is not a supported way to achieve this using Yammer Embed. As you noted the content is served within an iframe.
If the requirements are to not sure a publisher you could always use supported endpoints here (https://developer.yammer.com/docs/rest-api-rate-limits) and try and build a feed using the messages api.
Good luck!

How to enable latest Twitter feeds for organization in Sitecore 8

I am working on sitecore 8, I have installed MongoDB and I am wondering how i can get the Social Media enable in my sitecore. I want to show the latest twitter feed of the organization on page. Through some search I got to know sitecore 8 have given this feature out of the box.
Could anyone help me in this.
Thanks in advance.
Why do you need to do it via Sitecore?
Twitter has page for creation widgets: https://twitter.com/settings/widgets/new (You should be logged in to Twitter to create widget). You are able to create any widget for organization (by Twitter username), for tag (by Twitter hashtag), etc. You can copy code from Twitter to your sublayout and use it.
It has sense to do it using Sitecore Social only if you want to show different Twitter spots for different Twitter users.(But you said that you want to do it for organization). In this case, please follow documentation on dev.sitecore.net or sdn.sitecore.net
widgets are soon to be deprecated, try to use https://publish.twitter.com/ instead, it provides several options to customize how you want the feed to be viewed, and you'll only need to include the html in the layout or specific view you want in sitecore.

Ember.js with Twitter cards and Facebook OG

I'm have cards and og meta tags in my emberjs app, but when i check twitter/facebook debugging tools, they retrieved home page data. Any ideas what could be the problem?
BTW, I'm using NGINX mod_rewrite, and history url if thats any help.
You need to serve these from the server, Facebook cannot crawl javascript generated DOM.

Extracting out the important information from a web page when provided with only the URL

What I'm referring to is what apps like Facebook and Twitter do when someone posts a link. They are able to convert that link into a title, an important image and (sometimes) a short summary.
What I'm asking is: is there some trick to this using tags, rss or metadata or do you have to sign up for a web service which does this for you or write the code yourself, downloading the HTML and parsing it to extract out a guess to the components you want?
http://ogp.me - They all use the open graph protocol or others. The answers are in the meta tags.

Retrieving Tags from web pages

I am working on a (Browser Helper Object) plugin for Internet Explorer using C++. I intend to use IHTMLDocument2 interface to fetch all tags from a Web page, identify phone numbers and add a hyperlink next to it.
Could someone provide me with a basic sample code for retrieving all tags (Using IHTMLDocument2)from the web page or guide me to some webpage ?
UPDATE
I have an alternative approach of adding a javascript to the page using the bho. the javascript could be used to add hyperlinks besides the phone numbers. Is this a better approach ?
Thanks