Set read status of getstream.io notification feed via rest api or php sdk - getstream-io

I need to update read/ seen status of getstream notification feed via rest api or php sdk. Would be a great help if someone can help me out on this.
Reason is, I'm using rest api to integrate getstream with a flutter app Im developing. I though it would be easier than using native sdk as Im only using small amount of features

Answering my own questions as this was real tough to find,
https://getstream.io/docs/flat_feeds/?language=php&q=mark_seen#notification_feeds

Related

Upload/Encode files via REST API

I can't seem to find any documentation for uploading and encoding on the microsoft docs for AMS. All I see is live stuff. I do see this on the dotnet SDK, but not for node.js, so I'm trying to find something using the REST API. Does anyone have any microsoft docs or tutorials for uploading and encoding Azure Media Services v3 using the REST API?
Thanks for any help (I'm a newbie here)
For REST see the following: https://learn.microsoft.com/en-us/azure/media-services/latest/stream-files-tutorial-with-rest
For Node.js see the following: https://learn.microsoft.com/en-us/azure/media-services/latest/stream-files-nodejs-quickstart
We are adding more and more Node.js content now that the newer Typescript SDK is out there.
Keep an eye on samples here.
I built a simple upload and encode sample here.
https://github.com/Azure-Samples/media-services-v3-node-tutorials/tree/main/AMSv3Samples/StreamFilesSample
Let me know if that gets you started and if that is enough information to understand the basics.
I would avoid trying to roll your own REST based SDK client, since there is very helpful retry logic built into the official NOde.js/TypeScript SDK for Media Services.

How to integrate dialogflow with instagram

I wanted to create an Instagram chatbot but I can't find a way to connect Dialogflow and Instagram is there a way to do so? Even if using another chatbot rather than Dialogflow?
The only way I found was by using the following android app
https://play.google.com/store/apps/details?id=tkstudio.autoresponderforig&hl=en
This requires to have your phone ON and Connected to internet all time tho to work
but untill they release an official api I think this is all I have.

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).

using Spotify's webAPI in an iOS app

So I'm in the process of developing an iOS app and I wanted to use the Spotify web API for searching and looking up songs in Spotify. However, I can't really tell if that is how to do it or if there would be better ways to do it and wanted to clarify before I began. Thanks in advance!
If you'd like the use the Web API, it works just the same as any other JSON REST API, so a lot of the tutorials out there for doing that on iOS will help you just fine. For converting between JSON and Objective-C data structures, newer iOS versions have NSJSONSerialization, otherwise I can recommend the open-source TouchJSON.
Also, you might want to look at CocoaLibSpotify, which is an Objective-C library for interacting with the Spotify service in a much more integrated way than the Web API — including music streaming. However, it does require a Spotify user be logged in to use.

Resources