Join automatically to multiple MUCs - xmpp

Is is possible to automatically join to multiple MUCs after login?
As I user I would like to login to the client and immidiately see many MUCs that I can open.
Thanks

Clients typically use MUC bookmarks to discover the regular MUCs of the user and automatically join the MUCs which are tagged 'autojoin' in their bookmark entry.

Related

Is it possible for a Messenger Platform bot to initiate group chat with two or more humans?

Is it possible to create a bot that can connect two people (assume they're already registered with the bot) together by starting a group chat with the two of them?
If not, I'm open to alternate solutions to allow a bot to connect a human user with another human user, if anyone knows one.
Group chat is not supported. As an alternative you can build a chat extension which allows you to make some of your functionality available in group chat, including allowing multiple people to utilize shared resources. For examples, look at chat extensions that are already in the discover tab.

Which XEPs or eJabberd modules would be most suitable for conditionally and immediately changing the group of users a user is subscribed to?

Imagine that a database connected to an XMPP server stores users, it also stores an extra data column (let's call it dataId) for each user. The data column can take on three values: 1, 2, or 3.
In an XMPP client that logs in to the server, a list of users is displayed along with their XMPP presence status. The list displays users that all have the same value of of dataId. The client can change the dataId value that is displayed, meaning that if he switches the value, then the user is now somehow subscribed to the presence of the new list of users, but not to the old list of users.
I wonder if someone with experience with XMPP has a suggestion as to which XEPs or corresponding eJabberd (or Prosody) modules could be used or are best suited for this type of functionality.
I am slowly going through the XEPs, but there are a lot of them, and it's not clear as of yet which modules could be used, or if I would perhaps need to set up some custom code on my XMPP server to handle this.
You can take a look at XEP-0140. This behaves similar to rosters except that all users in a shared roster group will be able to see all other users in the group. You can create multiple shared roster groups and easily switch a user between them by adding or removing the user from the group. You can also have nested groups. You can look at the example on using shared roster groups for different cases here, using ejabberd.

How to select specific users who can only grant acces?

Is it possible to select specific Facebook users (based on an ID?) that are able to view the content of your website, after logging in?
E.g. I only want specific persons that are able to view the content that is available on the website.
I'm looking forward to your responses!
You can define test users for sandbox mode, but i'm getting the impression that's not what you're talking about.
If it's a production setting:
You should have some sort of storage of user_ids that are allowed to see the content. In your code (Server or Client side, preferably server so that the content isn't in the page source) you should check to see if they have a valid Facebook session and if its a user_id you can recognize as valid.

"Ask to join" a Facebook group

For an interactive kiosk project I need to add the functionality for the user to "Ask to join" a certain group.
I was imagining this would be pretty straight forward, but I can't really find any trace of this functionality in the Graph API...
Does this functionality exist at all?
Unfortunately as far as I know you can't programatically make a user join a group (due to security and privacy issues), same goes with liking a page (you have to ask a user to do that manually).
However what I can suggest doing is checking if a given user is already a member of that group (using the group_member table) and if not, redirecting him to the group and asking him to join it.

How to configure XMPP to allow all logged in user to see each other and chat with each other?

I am new to XMPP.
I am using Openfire server, and created a console client using Smack library.
My usecase:
All users anonymous, logged in (In future, website visitors) will be able to see other anonymous, logged-in users. And they can initiate a private chat (one-to-one) with any of them.
So, I am able to logged in as Anonymous user, but I am not able to see other Anon / Logged in users (using Roster), because they are not in anon user's roster.
So, What should be configuration OR custom=component/code to to achieve this usecase?
Do I need to create server component? Any hint? OR
It can be done using proper configuration?
Cheers
You should create Multi chat room MUC, and join users after login to this room.After user joins muc room they can get paricipiants list.