Prompt for user location on Skype bot - botframework

I've recently discovered it's possible to send location in all of skype new client apps.
I tried to send it proactively as a user to the bot and it worked (received the geolocation through the message entities)
My question is whether it's possible to prompt the user to send a location with a button or quick reply?
I've seen it wasn't possible two years ago, but it seems like it might have changed
MS Bot Framework, how to geolocate user on Skype

As far as I know, Skype bots does not currently support sharing geolocation of the users. Please correct me if I'm wrong, but I believe what you are referring to is the "Send Location" functionality in mobile versions of the Skype (e.g. iOS, Android). That is a useful feature on user's end to send user's current location, and it basically sends a text (e.g. 700 Clark Ave, St. Louis, MO 63102, United States) which is reverse-geocoded from the user's current location.
If you'd like to retrieve your bot users' locations, independent of the device they are using, "botbuilder-location" library offers a good workaround.
Of course, you can develop similar approaches using other geocoding services (e.g. Google Geocoding API).

Related

Can I get calendar meetings out of MS Teams?

I want to find if you can programmatically get calendar information out of MS Teams.
I was searching but didn't find any information, as with any documentation related to Microsoft you can't find anything useful.
So What I need any of:
some kind of WebHook, maybe that will run my script when new even is added to my calendar.
MS Teams call my script the meeting.
API that will allow exporting events from the calendar, so I can use a cron job to sync with the app I plan to create.
Basically, I was thinking about this tool ntfy. But I don't want to use MS Teams app for my phone if there is one, because I would like to have an app that will integrate with MS teams and Google Calendar. That I have to use at work. I'm a contractor for a software company that has a client that I'm working for. I need to use MS teams for a software company and Google Calendar for the client. Also, I can't log in with my work Google account, because it's blocked for the security of google drive (this at least was the error message). So my own Android app is the only way to have notifications on my phone (I need it because I sometimes forget about the meetings).
How I should create something like this? I only need general advice about integration with MS Teams. What API should I use? Will ask about Google Calendar in another question.
Note that I have zero knowledge about MS Teams, was searching for some developer documentation but was not able to find anything that can be useful for the thing I need.
I don't have any code yet, I'm investigating possibilities.
You could use so-called "graph api", the api Microsoft promotes to interact with anything related to Microsoft, including teams. There is simply a method to get all events for a team (i.e. group):
https://learn.microsoft.com/en-us/graph/api/calendar-list-events
There is an online sandbox you could use to play with it:
https://developer.microsoft.com/en-us/graph/graph-explorer

Skype Bots - Please tell me I'm missing something

Working on an application and developing chat integration bot. Note that contrary to some news bots or other tools, there is no central website or server that the bot gets its data from. The software installation comes with a repository, and that is where the bot connects to. Thus, every user, upon installing the software, will basically get their own copy of the bot, alongside with their own repository, etc.
Now, having done that for Telegram: You open the telegram client, initiate a chat with the botfather, get the token for your new bot with one or two commands, and then add that token to my application. Done. Easy for the user to follow, takes a few minutes at most and they have a working bot.
Trying to do the same with Skype, the users must:
Sign up for an Azure account
Provide credit card and phone number verification (that's probably where some users will stop right away)
Log on to the Azure Portal
Create a bot channel, through a myriad of different screens I have to guide the user through.
Have the user obtain the bot's password, again through a variety of different screens he needs to be guided through. (if the user hasn't given up yet, at this point he'll definitely get grumpy)
Enable the Skype channel, and enable the bot to be added to group chats.
Attempt to locate the bot via Skype and eventually add it in.
Now, if I wanted to document this properly, this will be a 10-15 page document with tons of screenshots and all. To do what Telegram does in two minutes or even less. There's so many opportunities in all of this for something to go wrong, that I can't even consider forcing my users to go through this.
Surely, I must be missing something? It can't be that you have to go through this horrible mess of an over-engineering spectacle that is second to none, just to get the most basic bot to function?
All I need is a means to say "this is the bots name, give me its token and API URL so that it can send messages using the REST API". But I can't seem to find this for Skype.

Is there any portlet or plugins which can help me in the implementing live customer support chat?

I need to implement live customer support chat to liferay 7.
Portal will provide capability for the end user to chat with the support users for online issue resolution, technical and non technical help. Portal support team can support the end users over chat as well over E-mail for the first tracking issue resolution. The user will be provided with a hyper link at footer of each page to start Web Chat. Once the user clicks on Web Chat the Web Chat window will be opened for communication. User can put his/her e-mail id, issue category and queries to start Web Chat. Once the Web Chat will be initiated by user, one chat window will be opened at for support user who is logged in mediation portal to provide support. If the support team is not available, then the end user will be communicated with a message that, Customer support teat will be in touch with you soon on e-mail. The user chat requests will be allocated among the support users those who are logged in mediation portal in round robin method.
There is the native chat portlet, but I really do not recommend using it for your case, your case is a bit more complex then what comes out of the box. You will be better served if a support system plugin.
I like https://www.zendesk.com/chat/
Which is pretty easy to install and customize.

How to send message to any Facebook Pages with a bot?

I have created Facebook Messenger bots to answer to people talking to my Facebook Pages with a wrapper of Microsoft Bot Framework.
When a human talk to my bot it has a recipient address (composed of multiple fields) used to reply.
Now I'd like my bot to talk to other Facebook page (like a human using a Messenger client)
Questions:
How can I find the "chat" address of a random user that do not already talk to my page/bot ? (It seems a same user has different address when it talk to multiple bots).
How can I use my bot to send messages to other's Facebook Page. To do that I assume the bot has to discover the recipient address of the human or bot behind that page ?
(May be the answer is to use an implementation of a Messenger Client in NodeJS ?)
For Facebook Messenger:
User "chat address", that is to say "Id" property of your Recipient, depends on every bot and cannot be guessed (it is a Page Scoped ID), you have to talk to the bot first. It's a question of security / anti-spam
Same problem to start a conversation with another page: you cannot guess the ID of the human/bot to which you will be talking to.
So currently it is not possible to do what you are trying to do.
Maybe you should have a look directly to Facebook APIs to see if you can at least do your 2nd point. For the 1st one, I found no way

Can I Send a Text Message from My Computer to a Cell Phone?

Is it possible to send a text message from a computer to a cell phone? I'd like to be able to do this with Ruby, not quite sure what it entails. After seeing GrandCentral and Google Voice, it seems like it's not that bad.
Is it possible? How do I get started!
Yes, it's fairly trivial.
Depends on whether you want to pay or not; some providers offer email addresses for each number that is with them, otherwise you can get an account with an SMS gateway (find one in your country, or try clickatell) and then just buy credits. They'll have various interfaces: Email, HTTP, more.
check smsroaming.com it provide services to send sms from website and also have desktop application for it. including iphone, blackberry and facebook application for it.
i hope they will help you to manage sms.
regards
Azy

Resources