<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged open-graph</title>
<link>https://www.question2answer.org/qa/tag/open-graph</link>
<description>Powered by Question2Answer</description>
<item>
<title>How To Set Up Open Graph Tags?</title>
<link>https://www.question2answer.org/qa/58934/how-to-set-up-open-graph-tags</link>
<description>

&lt;p&gt;&lt;span style=&quot;font-size:14px&quot;&gt;I am using AddThis image sharing widget on images on my site as you can see on the picture. When I share the image on Pinterest it always posts the right image, however when I share it on Facebook then it always pulls the image from the sidebar and not the image I was trying to share. AddThis said that I need to use Open Graph tags to fix the problem.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size:14px&quot;&gt;&lt;span style=&quot;background-color:rgb(255, 255, 255); color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif&quot;&gt;So I use this plugin by @AmiyaSahu&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color:rgb(255, 255, 255); color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;&lt;span style=&quot;font-size:14px&quot;&gt;.&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/amiyasahu/q2a-social-share&quot;&gt;https://github.com/amiyasahu/q2a-social-share&lt;/a&gt;&amp;nbsp;as it was supposed to create&amp;nbsp;Open Graph tags, but with this, it only pulls the image from the first answer and won't&amp;nbsp;pull images from the following answers.&lt;/p&gt;

&lt;p&gt;So my question is: How do I set up Open Grap tags so that the Question&amp;nbsp;title will be&amp;nbsp;og:title&amp;nbsp;for the answer and&amp;nbsp;the answer text will be og:description and the answer image will be og:image. &amp;nbsp;So if the question has 5 answers then og:title will remain the same as it will be the question title but each answer will have their own og:description and&amp;nbsp;og:image.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=2245705084325721185&quot; style=&quot;height:357px; width:600px&quot;&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/58934/how-to-set-up-open-graph-tags</guid>
<pubDate>Sun, 06 Aug 2017 21:48:00 +0000</pubDate>
</item>
<item>
<title>How can I add or edit open graph to my question2answer forum?</title>
<link>https://www.question2answer.org/qa/48232/how-can-i-add-or-edit-open-graph-to-my-question2answer-forum</link>
<description></description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/48232/how-can-i-add-or-edit-open-graph-to-my-question2answer-forum</guid>
<pubDate>Thu, 01 Oct 2015 21:45:37 +0000</pubDate>
</item>
<item>
<title>How can I use profile avatar image as og:image ?</title>
<link>https://www.question2answer.org/qa/45082/how-can-i-use-profile-avatar-image-as-og-image</link>
<description>

&lt;p&gt;How can I get profile avatar image url?&lt;/p&gt;

&lt;p&gt;I'm trying to create og meta tags for facebook, to display&amp;nbsp;user's avatars as the og image, something like this:&lt;/p&gt;

&lt;blockquote&gt;

&lt;p&gt;if (qa_request() === 'user') {
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;$this-&amp;gt;output('&amp;lt;meta property=&quot;og:image&quot; content=&quot;&lt;strong&gt;&amp;nbsp;Get User Profile Image&amp;nbsp;&lt;/strong&gt;&quot;/&amp;gt;');
&lt;br&gt;}&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I also need to know if this will do for the case &quot;User Profile&quot;&amp;nbsp;&lt;span style=&quot;background-color:rgb(230, 230, 250)&quot;&gt;&amp;nbsp;if (qa_request() === 'user')&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/45082/how-can-i-use-profile-avatar-image-as-og-image</guid>
<pubDate>Mon, 04 May 2015 05:18:08 +0000</pubDate>
</item>
</channel>
</rss>