Comments on: Build Your Skype Bot with OAuth and REST/2016/07/12/developing-skype-bot/Professional Development, Data ScienceFri, 11 Feb 2022 22:31:59 +0000hourly1http://wordpress.com/By: Tsuyoshi Matsuzaki/2016/07/12/developing-skype-bot/comment-page-1/#comment-40051Fri, 11 Feb 2022 22:31:59 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5305#comment-40051In reply to Чиги Юра.

The commercial targeting Teams (formerly Skype for Business) has a rich set of development methods, but unfortunately Skype development platform is not so flexible and it won’t have any options (such as REST APIs, etc) to operate with attachment programmatically.

Like

]]>
By: Чиги Юра/2016/07/12/developing-skype-bot/comment-page-1/#comment-40049Fri, 11 Feb 2022 22:19:06 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5305#comment-40049In reply to Tsuyoshi Matsuzaki.

thanks for your answer, is there any options to get a attachment(photo, video, ..) message from a user in a group

Bot cannot see messages without a tag, but any attachment cannot be sent to a group with a tag

Like

]]>
By: Tsuyoshi Matsuzaki/2016/07/12/developing-skype-bot/comment-page-1/#comment-40046Fri, 11 Feb 2022 21:10:53 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5305#comment-40046In reply to Чиги Юра.

Sorry, but bot framework is common API for channels (FB, teams, slack, e-mail, …) and doesn’t have Skype specific functions, such as, accessing gallery contents.

Like

]]>
By: Чиги Юра/2016/07/12/developing-skype-bot/comment-page-1/#comment-40042Fri, 11 Feb 2022 12:27:31 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5305#comment-40042In reply to Tsuyoshi Matsuzaki.

how can a bot get the entire attachment gallery(photo, video, doc) from the group it belongs to, is it possible to send get request to the server to get the whole group chat gallery?
help please

Like

]]>
By: Чиги Юра/2016/07/12/developing-skype-bot/comment-page-1/#comment-40038Wed, 09 Feb 2022 01:39:52 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5305#comment-40038how can a bot get the entire attachment library(photo, video, doc) from the group it belongs to?help please

Like

]]>
By: Jacquline/2016/07/12/developing-skype-bot/comment-page-1/#comment-32078Thu, 28 May 2020 04:59:01 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5305#comment-32078This piece of writing gives clear idea for the new users of blogging, that truly how to do running a blog.|

Like

]]>
By: Tsuyoshi Matsuzaki/2016/07/12/developing-skype-bot/comment-page-1/#comment-332Thu, 22 Dec 2016 09:43:40 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5305#comment-332In reply to Mahesh Kanniah.

It seems that you’re using bot framework endpoint (when skype, https://skype.botframework.com/), not skype bot platform endpoint (https://apis.skype.com). If you use bot framework, could you please follow the next post. (This post is writing for skype bot platform.)
https://blogs.msdn.microsoft.com/tsmatsuz/2016/08/19/build-skype-bot-with-microsoft-bot-framework-oauth-and-rest-api/
If the error exists, could you please send me the access token string ? This error seems to be caused by the token.

Like

]]>
By: Mahesh Kanniah/2016/07/12/developing-skype-bot/comment-page-1/#comment-331Wed, 21 Dec 2016 16:23:00 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5305#comment-331I keep getting 403 errors whether i call it from a php file or from my node script.
Endpoint is https://skype.botframework.com/v3/conversations/29%3A1sVK632j4iGqA2iMb3QKHhwBu1B86PoznjvXCsghPFbM/activities/1482336067364

I have been able to generate a token and verified the headers as well. Everything seems fine.
But yet the 403 error keeps on coming

$message = ‘{
“type”: “message/text”,
“text”: “Hi! (wave)”
}’;

$ch = curl_init($url);

$headr = array();
$headr[] = ‘Content-length: ‘ . strlen($message);
$headr[] = ‘Content-type: application/json; charset=utf-8’;
$headr[] = ‘Authorization: Bearer ‘.$token;

$options = array(
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HEADER => true,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_SSL_VERIFYHOST => false,
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_HTTPHEADER => $headr,
CURLOPT_POSTFIELDS => $message,
CURLOPT_POST => true,
CURLOPT_URL => $url ,
;
$response = curl_exec($ch);

curl_setopt_array($ch , $options);

Like

]]>
By: Tsuyoshi Matsuzaki/2016/07/12/developing-skype-bot/comment-page-1/#comment-330Tue, 01 Nov 2016 06:23:05 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5305#comment-330In reply to jijo.

The result is not including refresh token, then you retrieve access token again if it’s expired. (No login UI is needed for this app permission’s flow.)

Like

]]>
By: jijo/2016/07/12/developing-skype-bot/comment-page-1/#comment-329Tue, 25 Oct 2016 10:39:41 +0000http://blogs.msdn.microsoft.com/tsmatsuz/?p=5305#comment-329how the skype bot access token can be refreshed

Like

]]>