Is it possible to join a closed group through a javascript graph api on facebook? - facebook

Does facebook javascript api support the functionality of sending requests to join groups? I'm making a closed group for my organisation, so everything is pulled from facebook and displayed on our intranet but only if you are a member of that group. I had a request that I should make a functionality of requesting to join a facebook group using the api and not on facebook, as employee are not allowed to see the facebook website unless the specified urls, can someone please let me know if this is possible to do and if maybe you know of some link that I can go a look at. Please let me know, even the iframe will do at this stage.

Nope, sorry can't find anything in the Javascript API that allows you to send invites to groups.

Related

Getting data out of a private group

At our gym, we have a private Facebook group in which announcements are posted, photos and videos of our workouts etc.
I do not have a FB account anymore but I was wondering if I can get the data out of the group and digest it somewhere outside of Facebook.
Maybe by using the API and forwarding the posts in the group to Telegram or mail. It could be that I am overreacting because I do not like the FB business model and do not want to participate in it. But as my gym only posts in the closed FB group, I am looking for alternatives.
Or should I just create a FB account with nothing on it and only use Tor? :)
Looking forward to your suggestions.
Regards

Create a bot for a closed facebook group

What I'm trying to do is basically described in this particular
doc page from FB itself: click (post, comment content and listen for new content), but for a "normal" closed group instead of a group in a workplace.
According to the document, this would only be possible by storing the user access token of the group admin and use various graph API endpoints, but this does not seem like a good solution to me.
Is there any other known way (something like creating a Facebook app which will create posts, comment/like stuff and listens to new posts made in the group (similar to the group bots in workplaces))?
Thank you in advance!
Luca
Is there any other known way (something like creating a Facebook app wich will create posts, comment/like stuff and listens to new posts made in the group (similar to the group bots in workplaces)) ?
No, there is not.
Reading posts and creating them using the group admin's token would be possible, but that's about it.
Liking posts in the name of users has generally been removed (not just for group posts),
commenting will likely not be possible either for any non-admin in a closed group, and
Webhooks do not cover non-workplace group feeds as of now either, so you'd have to do constant pulling to get new posts.
And yet, the Facebook API clearly states:
In groups, bots can do many of the things that people can do. This means you can build bots that post new content, comment on content with new information and like posts to indicate acknowledgment or approval.
https://developers.facebook.com/docs/workplace/integrations/custom-integrations/bots#botsingroups

How to automatically post to Facebook

Please could you help. I have created a website that allows people to upload listings of items they are selling. I want to know how to add the feature where when someone creates a listing, it automatically posts on the user's FB page, with a link to the listing on our website. Is this possible? Would the user have to log into our website using their FB account for this to happen? Thanks everyone for your help.
Martin
You need to create a Facebook App and use Facebook Graph API with publish_actions permissions to do that. Note that the facebook rules prohibit sending fully automated messages that the user has no control, your user must have the ability to edit the message before sending

Invite users to closed Facebook group that was created by a Facebook App

How can we programmatically invite people to our closed Facebook group that was created by our app?
We've recently switched from the 1.0 to the 2.2 API version with our Facebook app. In this new version of the Facebook graph api, the option to add users to a (closed) Facebook group (that was created by the app) is not possible anymore. Only admins, developers or testers of the app can be added using the API.
Because of this, we thought we just temporarily invite people by hand. This is possible with a manually created Facebook group, you are able to invite people using an invite field. However, when a Facebook group is created by an app, this invite field is nowhere to be found, so manually inviting people seems to be impossible.
So, no adding via the API and no manual adding... What remains?
We've seen the FB.ui Javascript dialog function that a user can use to request access to the group, but this isn't what we want, we want to invite people...
It almost seems like our closed group has become useless because we can't invite anyone anymore...
Is there a solution for our problem?
Thanks in advance,
Erik.

Policy query - iframe app posting to multiple (5) friends wall

After some advice.
I have a client wishing to have an app which lets them download a voucher to redeem in store but only after they post details of this offer onto 5 friends' walls.
My understanding of current Facebook policy suggests that:
1) Promotions can't require users to take any action on Facebook other than to like the page (likegate);
2) Messages posted to multiple friends at once should be unique and personally initiated - i.e. an app shouldn't bulk post to multiple users. Instead users should share things on their own wall....
Am I correct in this understanding?
If so, can anyone point me at the relevant facebook policies - can't seem to find them on the site.
Yes, those are exactly what I read on the policies page. However to be absolutely sure, you should have your corporate attorney read them and consult with you.
See
http://developers.facebook.com/policy/
and
http://www.facebook.com/promotions_guidelines.php