title: Is it possible to specify Facebook OG meta tags in a php redirect page?
body: <p>I have a php file which redirects users to another page and grabs the referring website.</p>
  
  <pre><code>    &lt;?php
  $ref = $_SERVER["HTTP_REFERER"];
  $url = base64_encode($ref);
  header( 'Location: http://link in here.com/?url=' . $url );
  ?&gt;
  </code></pre>
  
  <p>The URL where this redirect page lives needs to be posted on Facebook, and so ideally needs OG meta tags to make it look nicer (image, title text etc)</p>
  
  <p>I am no expert, but have played around a bit trying to put these tags below the php, in the php etc but with no joy. I'd imagine it needs to go in the php but before the header redirect?</p>
  
  <p>Is this something that can be done? Any help would be much appreciated</p>
  
  <p>Thanks</p>