Detect a video upload YouTube API - c#

I'm developing a bot for discord and I would like to ask you how could I detect when I upload a video to Youtube to send a message to all users on my discord's server. I know some servers who use this function. Thank you!

You can use subscribe to YouTube's Data API push notification via PubSubHubbub.
The approach can be summarised as:
Set up a callback server that can handle incoming Atom feed notifications.
Use the Google hub to subscribe to receive push notifications.
Process notifications sent to your callback server.
Detailed instructions can be found here.
It is worth noting that the PubSubHubbub sample I read was using Node.

Related

ASP.NET Core web notification implementation

For the intranet company, I want to send to user web notification. This notification could be general (new feature in the intranet) or for a specific user (a task is ready to pick up or an import is completed).
I started to use SignalR but the user receives the notification only if the intranet is open. So, I'm looking around to implement a different web notification and I saw some posts:
https://blog.elmah.io/how-to-send-push-notifications-to-a-browser-in-asp-net-core/
https://labs.bawi.io/web-push-notifications-through-vapid-method-7d4d6927a006
https://www.tpeczek.com/2017/12/push-notifications-and-aspnet-core-part.html
https://webpushdemo.azurewebsites.net/
I can't find an end-to-end implementation in ASP.NET Core. On GitHub I found a few projects but again when I close the browser, I can't receive the notification.
I can't find any Microsoft documentation for that. Can you point me in the right direction please?
Update
The idea is:
Setting up a minimal PWA
Subscribe to Push Notifications
Send Push Notifications
Receive Push Notifications
Show Push Notifications

How Amazon SNS works with NodeJS and Xamarin?

I have Xamarin.Forms as my client side and Node as my Server side. Currently I am implementing a push notification feature. I found Amazon providing it through Amazon SNS. I have gone through the documentation. It states that we have to publish all our message to a topic and those who subscribe it, can get the push notification but my requirement is different. I have a role based app. If I send a request to another person, it should trigger a push notification. Basically I need to target specific device that use my app and not the topic publish subscribe things.
Is this possible with Amazon SNS or should I choose some other service which fulfill my requirement as I stated above? Please Help me out. Thanks
Yes. You can notify individual devices either through console or by API. Here are some information. Via console. You can also specify a TargetArn with the API call, which can be an endpoint URL.

Notification Hubs Message Status

I have some deployed mobile apps that use a backend Web API (not Mobile Service). I added push notifications support using another vendor. Recently...I wanted to check up on Azure Notification Hubs to see if I can also use them for some specific scenario. I am finding out that the documentation has not been updated for a while ...is it me? Is the notification hub the preferred way to send push notifications in Azure?
I am specifically interested in server-side registration. The doc has a special section about that which is nice but it looks quite complicated. Anyway, is there a way to retrieve the status of a message after I send it? For example, if I send a message to target a specific tag, I would like to know how many devices for each platform (i.e. Android, iOS and Windows) it was delivered to and whether the message is still in enqueue, etc.
I just responded to you at https://social.msdn.microsoft.com/Forums/en-US/d420fcc2-7e96-46cc-9dfc-71ea18086b56/notification-hubs-message-status?forum=notificationhubs. Thanks!

Setting up push notification for windows phone. MPNS and its role

I have read this:
http://msdn.microsoft.com/library/windows/apps/ff402558(v=vs.105).aspx
This is the API documentation of the push notification service I want to get pushes from: https://developers.podio.com/examples/push
How do I go about implementing push notifications with Podio if they do not support MPNS. It looks like (from the msdn documentation) that they will have to send the notifications to Microsoft Push Notification Service at stage 5.
Is there a way around this stage? Can I communicate directly with Podios PNS somehow? Why should Podio who are protected by Citrix have to send sensitive data through Microsoft's service when they have a service workflow of their own? I'm struggling to understand this!
Related documentation:
http://forums.wpcentral.com/windows-phone-8-guides-how-tos/234780-how-push-notifications-work-why-sometimes-they-might-not.html
EDIT
If I set up a service of my own that Microsoft's push notification service interacts with... I can then make interactions on behalf of Podio... Is this normal practice?... I'm assuming that the lag of double dosing requests is going to be pretty useless for something like a messaging application.
I noticed that Android seems to also now have a middle man service... But I assume that having the choice means large companies who do not want to make a handshake with a third party company do not have to?
http://developer.android.com/google/gcm/gcm.html

Send push notification using UrbanAirship on Monodroid

I have an application that uses UA for receiving push notifications. I've need to add in support for sending local push notification within the app.
I've searched around and can't find any sort of example on how to send using Xamarin.Android a push notification with UA.
Does anyone know where I can find such an example or if they have an example I can use and modify?
From what I can read, UA does not directly support local push notifications, so you would need to send the notification to the UA server, which then pushes it to the device.
Otherwise you could use "normal" notifications, inside your app using the NotificationManager.

Categories