Note that there are some explanatory texts on larger screens.

plurals
  1. POFacebook Open Graph Object Data Not Showing in News Feed or Timeline
    text
    copied!<p>I have a Facebook App with an approved action 'Respond To' and an object 'Question'. When I click on the button I created for my action the action data shows in my Timeline, but the metadata for the object doesn't show and nothing shows in my News Feed. What could be causing this?</p> <p>Action Code:</p> <pre><code>function postResponse(num,questionnum) { var responsestr = document.forms['frm'+num].responsestr.value; FB.api('/me/smartassbuddha:respond_to' + question=http://www6.3tierlogic.com/campaigns/smartassbuddha/chapter.php?cp=1&amp;qn='+questionnum+'&amp;re='+encodeURI(responsestr),'post', function(response) { if (!response || response.error) { alert('Error occured'); } else { alert('Post was successful! Action ID: ' + response.id); } }); } </code></pre> <p>Object Metadata:</p> <pre><code>&lt;head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# smartassbuddha: http://ogp.me/ns/fb/smartassbuddha#"&gt; &lt;meta property="fb:app_id" content="213040448788033" /&gt; &lt;meta property="og:locale" content="en_US" /&gt; &lt;meta property="og:type" content="smartassbuddha:question" /&gt; &lt;meta property="og:url" content="http://www6.3tierlogic.com/campaigns/smartassbuddha/chapter.php?cp=&lt;?=$chapter?&gt;&amp;qn=&lt;?=$quenum?&gt;&amp;re=&lt;?=$responsestr?&gt;" /&gt; &lt;meta property="og:title" content="Chapter 1 - Inspiration" /&gt; &lt;meta property="og:description" content="&lt;?=$questions[$quenum]?&gt;" /&gt; &lt;meta property="og:image" content="http://www2.3tierlogic.com/smartassbuddha/images/logo.jpg" /&gt; &lt;meta property="smartassbuddha:response" content="&lt;?=$responsestr?&gt;" /&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt; </code></pre>
 

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