title: Graph API: Post to a group feed
body: <p>I have programmed a working PHP script which was posting news to a feed of a group. But somehow it doesn't work anymore, not even if I try to do it with the <a href="https://i.stack.imgur.com/KXneg.png" rel="nofollow noreferrer">Graph API itself</a>:</p>
  
  <p><img src="https://i.stack.imgur.com/KXneg.png" alt="enter image description here"></p>
  
  <p>But why? This is how I did it many times before sucessfully... Now it isn't working anymore and I get this error msg... Can anybody tell me why and how I can fix it?</p>
  
  <p>I already changed my access token -> Same problem<br>
  I already looked up if the group ID has changed -> Still the same</p>
  
  <p>This is my PHP Code:</p>
  
  <pre><code>$group_url  = "https://graph.facebook.com/825764260964348/feed";
  $data['link'] = $this-&gt;product[1];
  $data['picture'] = $this-&gt;product[2];
  $data['message'] = str_replace("%%short_url%%", $this-&gt;product[1], $message);
  $data['access_token'] = "IAMAPLACEHOLDER";
  
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, $group_url);
  curl_setopt($ch, CURLOPT_POST, 1);
  curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  curl_exec($ch)
  </code></pre>
  
  <p>I would bet this PHP code is correct cause it was working...
  Kind regards and Thank You!</p>