LoB
LoB

Reputation: 33

Facebook API - Post does not appear in group

I'm trying to post some messages to a group. It works pretty well so far, but the post are only visible to me - no one else. Does anyone have an idea what I made wrong?

$postdata = array (
'access_token'  =>  $user_token, // taken from the "usertoken" from Access Token Tool
'from'      =>  '100000xxxxxxxx', // my (users) ID
'message'   =>  'message',
'link'      =>  'http://www.example.com',
'name'      =>  'Name',
'caption'   =>  'Caption',
'description'   =>  'Desc',
);

$res = $facebook->api("/".$gid."/feed", "POST", $postdata);

Well, $res contains the id as expected and I can see my (auto)post. Other users get a message, that a new post is in the group. If they click on the link, a message occurs that the post is deleted or is unable to load.

Upvotes: 3

Views: 261

Answers (1)

Sahil Mittal
Sahil Mittal

Reputation: 20753

You app must be in the development mode, if yes then the post will be visible to other users only after you switch it to live. See where you can change this setting-

enter image description here

Upvotes: 2

Related Questions