title: How to specify location targeting of FB post via Graph API
body: <p>Some time ago there was a field called <code>targeting</code> in the <a href="https://developers.facebook.com/docs/reference/api/post/" rel="nofollow">Post API Reference</a> but now it's gone and I don't know how to add a specific location and language targeting to the post via API. I've search a lot: some results refer to the <code>targeting</code> parameter. I've tried it, but it seems don't working.</p>
  
  <p>I've tried 2 ways to achieve this, but without any success:</p>
  
  <pre><code>$post_details = array('message' =&gt; $msg, 'privary' =&gt; array('value' =&gt; 'CUSTOM', 'description' =&gt; array('country' =&gt; 'Germany')));
  $fb-&gt;api('/PAGE_ID/feed', 'POST', $post_details);
  </code></pre>
  
  <p>and</p>
  
  <pre><code>$post_details = array('message' =&gt; $msg, 'targeting' =&gt; array('country' =&gt; 'Germany'));
  $fb-&gt;api('/PAGE_ID/feed', 'POST', $post_details);
  </code></pre>
  
  <p>Please help me understand how can I achieve this?</p>