How to integrate news feed with bubble.is platform to perform functionality of getstream - getstream-io

I m build a social network using bubble.is platform but not able to fiqure out how to integrate news feed and notification system in bubble.is platform from the getstream.io platform

Nick here from Stream. I'm not familiar with Bubble.js, however, it looks like it simply listens to DOM events. That said, you should be able to integrate Stream.js the same way that you would with any other framework (react, angular, etc.). Just import stream.js, initialize the client-side code, and on specific events, emit an event to bubble.js. If you want to take an action based off of Bubble.js (like store in Stream Analytics), you'd just fire an event to stream.js when an event happens in bubble.js. Hopefully, that helps out a bit. For more information on integrating with JavaScript, have a look at our docs here: https://getstream.io/docs/js/

parsons,
I second an implementation with bubble.is, that would be great.
Building a plugin shouldn't be too much work, but bring getstream.io to the non-coders.
Keep us posted on the progress :)

Related

Dialogflow SDK or Dialogflow REST API, which is faster in term of response time?

I have used Dialogflow for developing the app for Google Assistant. I have created intents and entities in the Dialogflow web GUI and I'm using a webhook response for further conversation.
Now I want to build a chatbot that is part of an existing Android or iOS app and use the code I already wrote for Dialogflow as part of this. What do I need to be aware of when I do so? It looks like I can use the SDK for that platform or make calls to the Dialogflow REST API. Which is faster or are there any tradeoffs? Can I use the Dialogflow NLP without going over the network?
Note: Dialogflow API V1 is deprecated and will be shut down on October 23th, 2019.
That means that the official Javascript, native Android, native iOS and Cordova clients will stop working since they all use V1. There's no word if and when these clients will be upgraded to V2.
So the best bet right now is to use the REST APIs.
There are a few things to be aware of when moving from fulfillment that was built for Actions on Google to using this to also provide responses for other platforms. Actions on Google expects the responses to be formatted slightly differently, and if you're using AoG specific characteristics (such as a SimpleResponse object or a Card object), then it might not appear for other Dialogflow integrations. So you'll need to go over your webhook code to make sure what you send back works across platforms. Your logic and the Dialogflow UI builder should pretty much remain the same - it is just your backend that might need some work.
To make the call, as you say, you can either do the REST call yourself or use the SDK built by Dialogflow. While the SDK will be slightly faster, since it is using ProtoBuffs instead of REST, the difference will likely be fairly slight in most cases. If you're planning to stream audio, you will likely need to either use the SDK or your own ProtoBuff implementation because REST doesn't handle that as well. If you're just sending text, and are more comfortable with doing REST APIs, then this is a perfectly reasonable approach.
There is no "local Dialogflow" library. All calls have to go over the network. There are other libraries that do Speech-to-Text and NLP locally if that is what you need.

Connect Bot built with Microsoft Bot Framework to other connectors/Channels too

I have built a bot using Microsoft bot framework. Now I want to connect it to channels which are not supported by the Microsoft bot connector. However, I need to build an interface (or a substitute for bot connector) to connect to those channels. But as I am using Bot framework SDK (NodeJs), I need the best approach to expose the endpoint of my bot engine to other connectors/channels.
The Bot Framework has a mechanism specifically for this scenario, called Direct Line. Essentially, you build the UI interface yourself, but use the Direct Line API to forward events to/from the Bot Connector. You can use the Direct Line REST API, or find an npm package where someone has taken care of the underlying plumbing for you, as in the botframework-directline.js package. Microsoft has some node.js BotBuilder-Samples on their GitHub site too.
Note: The typical way to get the best help on SO is to post code of
what you've tried and that gives people a better idea of how to help.
I understand you don't know where to start, so that doesn't help much,
but maybe it will explain why you're getting Close flags.

how to write own logic without using qnamaker

I am still trying to understand Chatbots. Currently i have already made chatbot which is integrated in skype. I have Sharepoint online where user search for FAQ. If they dont find then they ask BOT which sends request to LUIS and Qnamaker.
Qnamaker then sends response back by looking it into its database. I upload FAQ from sharepoint to Qnamaker using sharepoint workflows. But i want to write my own logic and get rid of Qnamaker.
What are ways to do it? Any good tutorials? I also wanted to know how the flow happens. For example if we dont use Qnamaker then we fire queries in sharepoint based on what user asked? I dont understand how i can fire queries in sharepoint if user makes typo then we will not get anything from sharepoint. So any tips on how to implement this without using qnamaker is highly appreciated?
The FAQ bot generator is a subset of the main Microsoft bot framework. You should do some research on the Microsoft Bot Framework. The link above takes you right to the documentation overview of the bot framework and from there you can get into developing one. They have links to a few sample projects as well as a large number of code snippets within some of the article explanations. It has a full setup guide that will walk you through the initial setup so it should be easy to get a basic echo bot running, but if you are not a programmer you should stick to the FAQ generator.
I suggest you use either node.js or c# to develop the bot since these are directly supported by the framework. I am personally using c# to build my bot from the ground up. The purpose of mine is to be used within a customer facing android/ios app that will help with questions, checking the status of different things, and even paying bills.
Just remember you will need to manually set up your cloud hosting. I host mine in azure alongside a web interface I built for it (you can build the website inside your bot if you are using c#, just replace the default.htm file in the web.config with the main page of the interface).

Chatbot maintaining flow

I have developed a web Chatbot using socket.io/nodejs/LUIS. I'm not using bot builder. I'm new to models.
My flow will be like socket-> luis->Response function.
This flow can be used for single req and response.but it can't handle complex conversations like form inputs,prompt dialog.
How can I incorporate such complex conversations?
If you are at the beginning of your journey with chatbots, I will propose you to take a look at Teambot project. This is an open source project so you can give it a try, go through the code to get some ideas or contribute to it.

Integrating Eventbrite with Expression Engine

Has anyone has done Eventbrite integration with an Expression Engine site? We'd like to set up events with Eventbrite and have them handle all ticket management. But we'd like to be able to display the events within the Expression Engine site and then enable users to click on the link to be redirected to Eventbrite. I've viewed the API and it looks like we can create custom EE pages with the API.
More importantly I'd like to let users search for events from our main site.
Has anyone done this type of work and have any hints or resources?
Thanks.
Todd Perkins got started on a module for this some time ago, but there hasn't been any action on it since then. Could be a good starting point for you though.
https://github.com/toddperkins/eventbrite
Eventbrite has a great PHP-based API client library that should be able cover all of your API interaction needs.
These PHP examples might be useful as well:
https://github.com/ryanjarvinen/eventbrite.php/tree/master/examples
http://eventbrite.github.com/#examples
Please let #EventbriteAPI know if you make any major progress on this project. I'm sure they would love to add an Expression Engine integration to their open source projects list and application showcase!

Resources