Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: None  |  size: 0.87 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Timeline Action Layout - No Attachment displayed
  2. FB.api('/me/application:action_type' + '?opject_type='+document.location.href,'post',
  3.       function(response) {
  4.           if (!response || response.error) {
  5.               alert("error");
  6.           } else {
  7.               alert("success");
  8.           }
  9.       });
  10.        
  11. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#">
  12. <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# app: http://ogp.me/ns/fb/app#">
  13.  
  14. <meta property="fb:app_id" content="123" />
  15. <meta property="og:type" content="app:action" />
  16. <meta property="og:url" content="http://www.example.com/" />
  17. <meta property="og:url" content="http://www.example.com/" />
  18. <meta property="og:title" content="Testing Title" />
  19. <meta property="og:description" content="testing Description" />
  20. <meta property="og:image" content="http.example.com/image.jpg" />