carpics
carpics

Reputation: 2282

Posting to Facebook Group with FB GRAPH API

I have issue with posting to Facebook group with FB API.

So I have user authenticated with permissions:

email,
publish_pages,
publish_actions,
public_profile,
manage_pages,
read_insights,
user_managed_groups

I got access token then exchanged it to long lived access token which I am using then to post to FB Group.

SO I am calling API:

 GET /v2.5/{group-id}/feed 

with next parameters for post:

parameters["message"]
parameters["caption"]
parameters["description"]
parameters["link"]
parameters["name"]
parameters["picture"]

Post is published to the FB group, but only the user which Access token is used can see it. The other members cannot see the post, but they got notification when post is published. So they got notification but when they click on the notification there is no post. The user which access token I am using is administrator of the group and only he can see the post, not even other administrators can see the post.

Tried also with sending these params as well on posting:

parameters["is_hidden"] = false
parameters["is_published"] = true

But the result is the same.

Does anyone have idea what is happening.

The option "Post Approval: All group posts must be approved by an admin." is unchecked so admin don't need to approve the post.

Upvotes: 4

Views: 4596

Answers (1)

C3roe
C3roe

Reputation: 96151

Your app was not set “live” yet.

It needs to be, otherwise all content created through it will only be visible to people with a role in the app.

Upvotes: 8

Related Questions