Bell Notification status on a channel through the API - youtube

Is there a way to change the status of the bell notification on a channel or at least view the status of the bell notification?

That is out of scope for this api. The YouTube API lets you control videos within your channel.
it is not intended to control things within your YouTube account link notification it simply doesn't contain that type of user information

Related

List channel messages API does not list all messages

It seems list channel messages API does not lists all messages, specifically it does not list messages which are automatically posted when "Meet" button is pressed. When "Meet" button is pressed, it starts meetings, thus users can reply to the thread. We would like to find a way to capture such information using Graph APIs
Such messages are not returned by Graph API:
Conversations/replies to “Meet Now”(channel meeting) aren’t considered as channel messages since, user isn’t posting a message to channel. If the user is posting a new message to channel using “New Conversation Button” it’s considered as channel message.
Now, chat message API works because there is scope of chat replies for that particular message as a result we are also getting the replies back.
These features discussed above are by design.

How do I get the bot to send embed message when a new video is posted?

I'm trying to use the YouTube API to get my discord bot to send me a message when I post a new video, but since I'm a beginner I do not know how to do this. The idea is that it looks like this: http://prntscr.com/j8je80 , the embed is ready but the api part of youtube is still missing.
You needed to subscribe to push notification.
The YouTube Data API (v3) supports push notifications via
PubSubHubbub, a server-to-server publish/subscribe protocol for
Web-accessible resources. Notifications are pushed out to subscribers
via HTTP webhooks, which is much more efficient than polling-based
solutions. With PubSubHubbub, your server finds out about events in
near real-time, without having to determine the optimal polling
interval or repeatedly fetching data that hasn’t changed.
So these are the following activities that will trigger the push notification:
uploads a video
updates a video's title
updates a video's description
To be able to implement these, there is a step by step explanation on how to subscribe.

Push Notifications for new live broadcasts via PubSubHubbub

I would like to receive notifications on new live broadcasts of YouTube channels. As described in YouTube v3 Push Notifications I've set up a public accessible PubSubHubbub callback server and subscribed to my own YouTube channel where I've tested the callbacks for "normal videos" and for live broadcasts. The subscription returned a HTTP 204 and I am getting pings for
new videos
changes of videos
deletion of vides
However I do not get a Ping when a live broadcast starts. It is visible on the YouTube channel, you can view it, use the chat, the live dashboard says everything is fine. So that part is okay. But there is no ping to the PubSubHubbub callback server for new live broadcasts.
However if I change the title or the description in the live dashboard there is a ping for the current live broadcast.
For me it looks like that there is only a "onChange" for live broadcasts, but no "created" ping. Is there anything I can do to get the missing calls for new live broadcasts?
Regards,
wlami
Edit: Once I stop the live broadcast I get two update Pings once the broadcast has been processed and is shown as a video on the channel.
Youtube Notifications via PubSubHubbub states in the docs that this is meant for:
uploads a video updates
a video's title updates
a video's description
No mention of new live broadcast here.

Youtube API - How to send direct messages to followers?

According to google support:
Use Messages to send private messages to other members of the YouTube
community. [...] The messages system utilizes Google+
messaging so your channel must be connected with a Google+ in order to
use this feature.
https://support.google.com/youtube/answer/57955?hl=en
Is it possible to send direct messages to followers via youtube or google plus API?
I think the closest thing that's currently implemented is the Subscriptions resource, which
"contains information about a YouTube user subscription. A
subscription notifies a user when new videos are added to a channel or
when another user takes one of several actions on YouTube, such as
uploading a video, rating a video, or commenting on a video." [source]
So your subscribers should be getting a notification when you upload a video or do something similar anyways. If you wanted to message each of them directly, I suppose you could use Subscriptions.list() with mySubscribers to get your list of subscribers, but I don't think there's a way to mass message them programmatically (seems like it could be easily abused).

Tracking subs referral

Is it possible using the current APIs to track where one's subscribers are subscribing from?
For example perhaps I want to see how many subscribers an annotation on a certain video (that any user uploaded) generated for my channel.
The closest thing to what you're describing is running a YouTube Analytics API report with
ids=channel==UC...
dimensions=video
metrics=subscribersGained,subscribersLost
sort=-subscribersGained
This will return the top ten videos that led to subscriptions to your channel. But I don't think that videos uploaded in third-party channels that have annotations prompting people to subscribe to your channel will show up on that list. My understanding is that only videos in your own channel will show up on the list, and it might be that only subscriptions made via the Subscribe link on the web page (not via an annotation) would trigger inclusion on that report.
Sorry that I don't have more specific details.

Resources