Skip to content

Instantly share code, notes, and snippets.

@rarous
Created August 20, 2010 08:17
Show Gist options
  • Save rarous/539875 to your computer and use it in GitHub Desktop.
Save rarous/539875 to your computer and use it in GitHub Desktop.
poslat jako application/xhtml+xml
<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs"
xmlns:og="http://opengraphprotocol.org/schema/"
xmlns:fb="http://developers.facebook.com/schema/">
@ondrejmirtes
Copy link

Jak bych měl v HTML5 napsat, pokud chci použít přihlašování přes FB a mít na stránce Like tlačítko?

@rarous
Copy link
Author

rarous commented Aug 20, 2010

Tlačítko like uděláš přes iframe a přihlašování přes JS SDK (funkce FB.login), nebo použiješ XHTML serializaci a je to ok. Pokud chceš využít Open Grap, nezbývá, než zvolit XHTML serializaci.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment