microsoft team webhooks API - microsoft-teams

I'm working on an web application to get meeting event. What I'm working is that generate webhooks with customized redirect url. If there is any update in meeting(such as meeting start/end, participant left/join and recording/transcript generated), the server can get webhooks event notice. But I didn't find such API to generate webhooks. Can anyone help me if there are APIs to handle it or how can I do to achieve it? Thanks.

Related

Integrating payments into chatbot

I wanted to know if it is possible to integrate payments into a chatbot built upon MS Bot Framework without using PayPal/Stripe APIs. I've got a traditional payment gateway that I wish to use for payments, is there any way to render a webpage within a bot window? Also, I'm not entirely sure whether such an approach is safe.
Any other suggestions in terms of approaching this problem are also welcome.
You can simply use depends on the language you're using the CSharp Payment Bot Sample or Node Payment Bot Sample that uses Stripe or if you want to use PayPal, you can just create a Payment Button where the user will have to click on, get redirected to a browser to finish the payment and create an endpoint for PayPal's Instant Payment Notification on your Bot so it can tell when the payment has been processed.

Sending web push notifications from Laravel

I have a website running Laravel in the back-end, where users can create reports for other users.
When the report is created I would like to send a push notification to recipient user's desktop.
Do I need to use services like Pusher, OneSignal?
Any useful site with examples would be appreciated.
Your question
You could use Pusher, Redis/Socket.io, Pubnub, etc. Which one to use? well, this is more an opinion-based question.
These services broadcast events, then in your client apps (like your web front-end) you configure the client-side libraries of the service you choose to subscribe (to channels) and listen to those events. The documentation explains it better.
Examples/tutorials
Pusher
This is a tutorial published by the Pusher team.
Redis/Socket.io
This one
is a Laracasts series about this.
Just google.
Update
There is a Laravel-specific alternative, a package created exclusively for Laravel:
Laravel WebSockets
This is the post talking about the package and its inner working.
This is the repo.
Here you have the documentation.
If you like to show Native Desktop notification then i would suggest Web Push notification. In this way once user subscribed to push notification ,they will get real time notification and does not need to be on your website.
https://github.com/laravel-notification-channels/webpush

How to create a slack bot with the events API

I have my own slack team, with its own slackbot user.
I want to create a basic slack bot that will respond to direct messages, and I since I need specific events, I need to use the Events API.
I understand that slack will POST to my server the event that happened with its parameters, but I don't understand what needs to be done with the oauth permissions.
How can I add permissions to the slack app, without submitting the app?
reading the docs, I couldn't find the answer to this..
what am I missing?
You do not need to submit your app to the Slack App Directory. That is optional and only necessary if you want to make your app available to the public.
But you need to install your app to your Slack team before you can use it. During the installation process your app will be authenticated to your Slack team and you will receive a special token based on the scopes you requested.
The authentication process follows the OAuth standard and works similar to the process used by other web services, e.g. Twitter or Facebook.
I use a mini website for each of my Slack apps that has the "Add to Slack" button and is able to run through the OAuth process with Slack. This website is basically another script in addition to the one that will handle the events coming form Slack.
Check out the excellent documentation from Slack on the Slack button and how to use Oauth with Slack.

AppHarbor Slack Integration

I've been trying to set up appharbor to work with slackbot on Slack or Incomming webhooks but tough luck.
How to integrate AppHarbor with Slack?
https://support.appharbor.com/discussions/problems/77288-webhooks-for-posting-notifications?unresolve=true
This is what i've found so far on the subject and i've created a discussion on their support but still nothing...
Any assistance on the matter is appreciated!
I have managed to get this to work using Zapier as an intermediary...
Add a Web Hook from the Zapier side to their built in Slack integration.
Then they will give you a webhook URL. Add this as a Service Hook in Appharbor. I needed to then push a build so that Zapier had a sample hook to work off of and then I did some simple filtering (only show fails for example) and configure the Slack channel and it was up and running in < 10 mins.

Any suggestion for companies or service for global SMS API?

You might used whatsapp or LINE from iOS or Android smartphone.
You need to activate your account but input your phone number at the first time.
And the app will try to send a SMS message to your phone for authentication.
Do you have any suggestion how they achieve this?
As far as I think, there might be some SMS API Service companies to help on that.
If so, do anyone have some suggestions or list for those companies which provide integrated global SMS Service API (via Web API to trigger)
And also if I want to receive SMS message from users, is there any suggested company to help on receiving SMS?
Or is there any better way to achieve similar goals (Sending and Receiving SMS via Web API worldwide)
I know that the company Twilio does it. Check this out http://www.twilio.com/api/sms
What you're talking about is often called as two-factor authorization, mobile verification API, one time password API. We (and me, personally) implemented this as a part of our SMS API.
As a first step, you must generate the code. And after the user received the message and entered it in your UI, you're validating it.

Resources