Note that there are some explanatory texts on larger screens.

plurals
  1. POUnable to publish sample open graph as per instructions
    primarykey
    data
    text
    <p>Followed exact instructions as per : <a href="http://developers.facebook.com/docs/beta/opengraph/tutorial/#publish" rel="nofollow">http://developers.facebook.com/docs/beta/opengraph/tutorial/#publish</a></p> <p>and am getting 'error occurred' error</p> <p>What could be going on? the code is as follows:</p> <p>================================================================</p> <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xmlns:fb="https://www.facebook.com/2008/fbml"&gt; &lt;head prefix="og: http://ogp.me/ns# test_app: http://ogp.me/ns/apps/test_app#"&gt; &lt;meta property="fb:app_id" content="129xxxxxxxxxxxx" /&gt; &lt;meta property="og:type" content="test_app:recipe" /&gt; &lt;meta property="og:title" content="Stuffed Cookies" /&gt; &lt;meta property="og:image" content="http://x.example.com/cookedrcp.jpg" /&gt; &lt;meta property="og:description" content="The Turducken of Cookies" /&gt; &lt;meta property="og:url" content="http://apps.facebook.com/test_app/index.php"&gt; &lt;script type="text/javascript"&gt; function postCook() { FB.api('/me/test_app:cook' + '?recipe=http://apps.facebook.com/test_app/index.php','post', function(response) { if (!response || response.error) { alert('Error occured'); } else { alert('Post was successful! Action ID: ' + response.id); } }); } &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="fb-root"&gt;&lt;/div&gt; &lt;script src="http://connect.facebook.net/en_US/all.js"&gt;&lt;/script&gt; &lt;script&gt; FB.init({ appId:'129xxxxxxxxxxxx', cookie:true, status:true, xfbml:true, oauth:true }); &lt;/script&gt; &lt;fb:add-to-timeline&gt;&lt;/fb:add-to-timeline&gt; &lt;h3&gt; &lt;font size="30" face="verdana" color="grey"&gt; Stuffed Cookies &lt;/font&gt; &lt;/h3&gt; &lt;p&gt; &lt;img title="Stuffed Cookies" src="http://x.example.com/cookedrcp.jpg" width="550"/&gt;&lt;br /&gt; &lt;/p&gt; &lt;form&gt; &lt;input type="button" value="Cook" onclick="postCook()" /&gt; &lt;/form&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>=====================================================================</p> <p>I have already created the open graph as per the sample page e.g. cook a recipe.</p> <p>Any help will be greatly appreciated.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload