Open Graph validation for HTML5

For HTML5, add this to your html element like described on ogp.me and keep your og: prefixed properties: <!doctype html> <html prefix=”og: http://ogp.me/ns#”> <head> <meta property=”og:type” content=”website” /> … For XHTML (like OP’s question), use the name attribute instead of property attribute. Facebook lint will throw a warning, but the meta value will still be … Read more

Omniauth Facebook Error – Faraday::Error::ConnectionFailed

I’ve fixed this on Mac OS X Lion 10.7.4 with this solution: $ rvm remove 1.9.3 (or whatever version of ruby you are using) $ rvm pkg install openssl $ rvm install 1.9.3 –with-openssl-dir=$rvm_path/usr after this you will need to download the missing cacert.pem file: $ cd $rvm_path/usr/ssl $ sudo curl -O http://curl.haxx.se/ca/cacert.pem $ sudo … Read more

Generate “never-expire” access token for Facebook Page

You can generate never expiring access token without coding, following this instructions: Open graph Explorer: https://developers.facebook.com/tools/explorer/. Choose your application from the right corner dropdown. From “Get Token” dropdown choose your Fan Page. Click on submit button to generate token. From the left side on “Search for a field” enter access_token and click submit again. Copy … Read more

Invisible characters – ASCII

I just went through the character map to get these. They are all in Calibri. Number    Name      HTML Code    Appearance ——    ——————–  ———    ———- U+2000    En Quad    &#8192;      “ ” U+2001    Em Quad    &#8193;      “ ” U+2002    En Space   &#8194;    “ ” U+2003    Em Space  &#8195;     “ ” U+2004  Three-Per-Em Space &#8196;    “ ” U+2005  Four-Per-Em … Read more

How to post on a friend’s Timeline after the February 2013 migration takes effect?

But is there a way to accomplish this other than by using open graph? Accomplish what exactly? Tagging users/friends in any kind of posts? Only possible for Open Graph stories, or photos. (But be aware, apps are not supposed to tag users in photos if the user is not actually in it, or if it’s … Read more