Comments (16)
it is api.botframework.com
from botframework-sdk.
Thanks - I've tried the following with no success. I'm attempting to start a new conversation using the direct line REST API passing in the secret from my bots direct line secret obtained from the portal.
Request
POST - https://api.botframework.com/api/conversations
Authorization: BotConnector {secret}
Response
HTTP/1.1 404 Resource Not Found
Content-Length: 54
Content-Type: application/json
Date: Wed, 06 Apr 2016 01:56:31 GMT
{ "statusCode": 404, "message": "Resource not found" }
Am I missing anything else?
from botframework-sdk.
@tomlm ping - See question above.
from botframework-sdk.
Sorry, we misspoke earlier. The hostname for the Direct Line API is directline.botframework.com. The api.botframework.com hostname is where the main Bot Connector API is located.
from botframework-sdk.
Hi guys, I have a question: I have custom storage for my bot, configured through the ChatConnector, ie replaced state.botframework.com with a custom endpoint; our client uses direct client api; does direct line store data, maybe temporarily? I mean, when I start a conversation, then invoke get messages, it appears direct line gives me messages without hitting my bot connector's api getData, which makes me think it somehow has received it at some point through some interaction direct-line and my bot app; is there a way to know how the whole flow works? I also invoked get message directly for a conversationId:
userMessageSet = userConversations.GetMessages(conversationId);
and it didn't hit the bot connector from my app at all, which seems to tell that direct client (https://directline.botframework.com) somehow stored or cached the answer to a previous conversation.
Thanks.
from botframework-sdk.
Hi @alin-nemet, that's correct, the Direct Line service has a temporary message store so that clients can retrieve the message history. We use a cental store because the bot can send messages at any time but the client has no webhook to receive callbacks.
from botframework-sdk.
Thx a lot!
from botframework-sdk.
And how does a Bot send a message to the Directline? What service URL should I use then?
from botframework-sdk.
I want to a send a message to an existing conversation between my bot and the directline client. I have the conversation ID. How do I do that? Using what service URL?
from botframework-sdk.
from botframework-sdk.
from botframework-sdk.
from botframework-sdk.
from botframework-sdk.
from botframework-sdk.
from botframework-sdk.
Hi Guys,
I have configured a Web Chat Channel and a Direct Line Channel on Azure Bot Service. I am using the web chat control on the client side i.e. on a web page to provide a UI to users. For now I am using the Web chat control as it is i.e. included botchat.js in html served from my local server and also botchat.css which I have modified the css to give a custom look n feel. There will be requirement in future where I might have to create a custom build of Web Chat control source code, to reduce the overall size of botchat.js file and do some custom implementation as well. My question is it right way to use the UI for a website. Please share your experience and best practice for the same. Are there any other ways to do UI for Website, because I want to support the flexibility of displaying various types of responses like text, video, hero cards etc. Also, for now I am passing the secret key in the BotChat.App code, but I am confused which secret key to use, the one from WebChat Channel or DirectLine Channel. Please help me guys.
Thanks and Cheers for your efforts..
from botframework-sdk.
Related Issues (20)
- Consider updating namespaces from Task* to the concept of a modal dialog at the appropriate time HOT 1
- Skype bot responds with long delays HOT 2
- Operation returned an invalid status code 'BadGateway' HOT 3
- FAQ bot is not responding to question asked. Giving 500 error. HOT 2
- Unable to call bot service when we've enabled NGNIX & Fortigate for appservice in azure portal HOT 1
- 404 Not found when trying to use Teams SSO to get the user token HOT 7
- In Microsoft Teams, <Conversation>.ReplyToActivity does not send a reply, it creates a new message to the conversation HOT 4
- Play Continuous Video Stream on the Bot
- Occasional unexpected ConversationNotFound
- SendAdaptiveCards does not work with generic objects HOT 3
- Skype mentions showing "未知用户" HOT 2
- User response from button selection on Adaptive card not working on Facebook Messenger HOT 4
- Token Service returning 404 on GetToken when using Keycloak, works with ADv2 HOT 1
- Token Service doesn't refresh the user token HOT 3
- Bot gives same response multiple times when deployed with azure bot service HOT 1
- [Bug] Bot has no response in chat after deploying to non-Testing environment and uploading to Teams HOT 6
- Token Service giving a static dark page when clicking the sign in button multiple times
- [Bot Portal] I can't see my bots HOT 1
- `Input.Text` not displaying when used with `isRequired: true`
- Skype is not sending the attachment details along with request object in group chats HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from botframework-sdk.