Can a Facebook Messenger Bot chat with two or more people in a group? - facebook-messenger

Do all messenger bots interact directly with just one user at a time? Can a bot join a group of two or more people and talk to them?

Currently Facebook Messenger bots only work on a one to one basis.
One of the reasons is probably privacy.
Facebook are being very cautious before rolling out bots in a group context.

Currently facebook does not allow to add bots in groups, however you can add bots in groups in Telegram.

Related

How to send emails when a new user signs up?

I'm looking for advice on how to send a welcome email when a new user signs up and when I add new web development challenges to my website.
I don't have any idea how to do that, so I've been doing some research and found that we need to make an API call to the mail service (i.e., Mailgun) when a new user signs up.
Here are some questions for you:
Do I need to buy an email address on my custom domain? I already have a custom domain.
2 Which service should I use for this? Meantime, I want to stay away from paying for the email service right now as I have less number of signed-up users.
I'm using GitHub firebase authentication to authenticate the users.
My Tech Stack: ReactJs, Firebase
Thanks

How can I create Coinbase oauth application on behalf of the user?

I have the following goal - I want to integrate my application users with Coinbase. All users should be able to connect their own Coinbase accounts with my application so I can grant read permissions. In order to do that I have to use oauth api, but the problem is, I do not want to ask users to first create oauth application through the Coinbase UI themselves and then provide me the application ID and secret so I can initiate a coinbase oatuh integration. I need a seamless, one click integration. Do you have any suggestions how to achieve that?
Thanks....
The whole point of oAuth to not need the api key.
this is the documentation that says how to do it. future questions need to be programming specific or stack overflow will eat you up for dinner.
https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/sign-in-with-coinbase-integration

How to do PayPal transaction between two users in React.js?

I am entirely new to making E-commerce website. Already I have built the basic interface and all required features. I am stuck in one thing. Basically I am working on Paypal integration. At the moment, the money comes to my account after checkout since I have setup with my credentials. But in my Website, one can be a publisher too. How do I ensure that the money goes from the customer to the publisher account? As for the admin, since I am the admin so I already configure with necessary credentials. But what about those publishers who sign up in my website? Thanks. Just give me an idea. I am using React.js in my front end.
You can use the official react-paypal-js
When creating the order, specify the recipient payee with an email or merchant id.
A server integration to create the order is not required, but more robust for the usual reasons.

How to handle social logins on subdomains loaded as domains via CNAME?

I have a project where subdomains are created for each of my users. So, if my project is example.com, a customer of mine might have steve.example.com.
I then added social logins with Google and Facebook. For Google's "Authorized JavaScript origins" and "Authorized redirect URIs", they don't allow wildcard domains. What's the best way to handle this?
Next, it gets more complicated for users that want to load steve.example.com on their own domain via CNAME. So if example2.com's DNS is pointed to steve.example.com, it appears I need to add example2.com to my Authorized Javascript Origins. What's the best way to handle this? Can I add it via API? I can't find any documentation regarding this and I'd rather not have to manually add 1000 subdomains and domains to Google.
Do you want a user to authorize a scope "A" for site 1 and get it auto approved for site 2? Most likely not.
If you use the same client ID (put these all in the same project) that means they should just be approved once by a user. This may be a privacy violation if the sites are different and a user may not want to sign-in to one of those but into another.
To solve this, you should be creating a different client id for each of your customer.
Another good reason to create a project/client id is if for some reason there is abuse and one of the client ID is compromised then other/all customers are not effected.
If you are creating project/client ids for each project then you should add the right subdomain there during the configuration. I also recommend not having all the projects (1000s as you say) in one Google account.

App Architecture

I am currently working on a project where i have to make a Hotel Booking Application. There will be general user who will browse through available rooms and will have to login to book. Hotel owners will have account to manage their inventory. And there will be admin section to manage the app. I am confused about what is the best approach to scale this kind of app in Laravel. Because each kind of account will require different type of authentication. I have thought multitennent approach but doesn't seem like This app falls into this category. Thanks in Advance for any help.
For this scenario, you can implement Role based authentication.
You need to create 3 roles.
Hotel Owner
Application Administrtor
General user.
Based on the role, you need to provide access. If you haven't developed Authentication system, you can use Entrust along with Confide.
Entrust provides a flexible way to add Role-based Permissions to Laravel4.
Confide is an authentication solution for Laravel made to cut repetitive work involving the management of users.

Resources