YouTube API webhooks - PubSubHubbub a.k.a. WebSub with Rails

  Рет қаралды 4,472

CJ Avilla (cjav_dev)

CJ Avilla (cjav_dev)

Күн бұрын

Пікірлер: 34
@w1d3r75
@w1d3r75 2 жыл бұрын
Ngrok is a lifesaver. Ty
@megamehdi89
@megamehdi89 Жыл бұрын
A great video, thank you so much. From start to end the video was awesome. I loved how well and fast you were thinking and executing and of course, the pubsubhubbub was so confusing to me just only from there documentation. But following your video I was able to implement it.
@ytvn-nk9nn
@ytvn-nk9nn 4 ай бұрын
I tested with a controlled youtube channel, and it seems a lot of messages are missed; have you had this issue?
@merefield2585
@merefield2585 2 жыл бұрын
Very timely, I just submitted a quota increase request (for my awful polling solution) and then boom, thought to myself "I wonder if there is a push solution so I can avoid polling", googled it, found that page, then searched KZbin found your great video! Oh and btw, I assume one could manage subscriptions in the app too by sending the same requests that page does?
@cjav_dev
@cjav_dev 2 жыл бұрын
Yeah you should be able to use that form programmatically too. Just hit that same route with your channel ID
@ayushbhargava9539
@ayushbhargava9539 Жыл бұрын
@@cjav_dev what do you mean by hitting the form programmatically?
@JackHartwig
@JackHartwig Жыл бұрын
Do you know if it sends requests when you get things like subscriptions and comments?
@socialengineer
@socialengineer Жыл бұрын
I second this. Does it?
@GrzesiuG44
@GrzesiuG44 2 жыл бұрын
I am able to subscribe, yielding "verified" state while checking. Despite that I am not getting any updates - nor any errors on diagonostic page. As if no updates ever happend. Is pubsubhubbub currently broken? Or could it be that it doesn't like ip as hostname, custom port or no ssl (despite sending and verifying subscription). Or what else could be wrong :o
@ichoupettev4661
@ichoupettev4661 Жыл бұрын
I'm having the same issue, did you find the awnser ?
@joshikroshan5584
@joshikroshan5584 Ай бұрын
@@ichoupettev4661 let me know if u r still stuck. I found the solution to this issue. The google team has fixed it
@mattfoulgerBC
@mattfoulgerBC 7 ай бұрын
thanks dude, very helpful
@praveenellaiyan
@praveenellaiyan Жыл бұрын
Thanks for great video! Just wanna understand what happens if our service is down and meanwhile few contents added to channel. Will our service receive all notifications once our service brought up? Thanks again!
@cjav_dev
@cjav_dev Жыл бұрын
I don't know if there are built-in retries. I suspect there might not be.
@praveenellaiyan
@praveenellaiyan Жыл бұрын
@@cjav_dev I verified it. It seems they have retries in place.
@tomdesaulniers3679
@tomdesaulniers3679 2 жыл бұрын
Hi CJ, nice video, thanks. Can the webhook tell you when a video has been deleted, made unembeddable, etc?
@JohnPrasanth-n4y
@JohnPrasanth-n4y 9 ай бұрын
A great video, thank you so much.
@siyaram2855
@siyaram2855 2 жыл бұрын
Hey CJ, Can you do a series on Rebuilding Rails framework? A series that will demystify Rails magic. Something like we had in Owning Rails course kr noah Gibbs books Rebuilding Rails. For many it would be a goldmine and a timeless resource.
@cjav_dev
@cjav_dev 2 жыл бұрын
Fun idea! There’s so many pieces, but I think we could rebuild many of the basics like active record, routes, controllers, views.
@siyaram2855
@siyaram2855 2 жыл бұрын
@@cjav_dev Yes. Please consider making a series.🙏
@stpaquet
@stpaquet 2 жыл бұрын
I would have tried to emulate the backend with Postman to better understand the different options before building it with rails. But that's personal ;-)
@compteprivefr
@compteprivefr 2 жыл бұрын
How do you set up your own hub? Do you HAVE to use one of the already set up hubs like the google one?
@cjav_dev
@cjav_dev 2 жыл бұрын
You could set up your own hub, but if you want events from KZbin, you’d need to convince the KZbin product team to also integrate with your hub.
@cristicode4301
@cristicode4301 Жыл бұрын
This Hubba Bubba thing, only supports video upload and description edit, but there is nothing out there that would allow a dev to use the YouTune API to receive/read live stream messages in real time. :(
@stpaquet
@stpaquet 2 жыл бұрын
great video
@naadodi_tamilan
@naadodi_tamilan 2 жыл бұрын
Nice simple explanation mate. Keep up the good work. Mind sharing what Video tool you use to record the video ?
@cjav_dev
@cjav_dev 2 жыл бұрын
Thanks for watching! I currently use ScreenFlow for recording and most editing. Also starting to use Descript for more editing. For future folks who find this comment, I plan to keep this page up to date with what I use: www.cjav.dev/uses :)
@hsbtech300
@hsbtech300 Жыл бұрын
I managed to verify the hub challenge but the this is not real time:(. I am waiting for 15min+ and still haven't got any notifications. Probably have to poll things
@ayushbhargava9539
@ayushbhargava9539 Жыл бұрын
did you ever figure this out? I"m still not getting any notifications
@FranckYannickMVONDO
@FranckYannickMVONDO 2 жыл бұрын
Thanks 👍
@anhche8205
@anhche8205 Жыл бұрын
hehehe
@techtesting6969
@techtesting6969 Жыл бұрын
great video
@techtesting6969
@techtesting6969 Жыл бұрын
great video
Web push with Ruby on Rails
33:19
CJ Avilla (cjav_dev)
Рет қаралды 6 М.
This is why webhooks are important
7:59
Web Dev Cody
Рет қаралды 37 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Add Comments with Ruby on Rails
25:33
CJ Avilla (cjav_dev)
Рет қаралды 5 М.
Webhooks: What They Are, How To Use Them & Why You Need Them
9:16
James Perkins
Рет қаралды 19 М.
Google I/O 2010 - Make your app real-time with PubSubHubbub
55:46
Google for Developers
Рет қаралды 24 М.
Polymorphic associations with Ruby on Rails - like all the things
20:54
CJ Avilla (cjav_dev)
Рет қаралды 6 М.
Like button with Ruby on Rails
17:57
CJ Avilla (cjav_dev)
Рет қаралды 6 М.
Install Factory Bot with Ruby on Rails
17:55
CJ Avilla (cjav_dev)
Рет қаралды 11 М.
Ruby's Symbols Explained
24:47
Peter Cooper
Рет қаралды 81 М.
What Is A Webhook - Why Is It Key To Headless Architectures?
5:38
Going Headless with John
Рет қаралды 60 М.
Upgrading a Rails 6.1 application to Rails 7 - clearbnb - Part 7
21:15
CJ Avilla (cjav_dev)
Рет қаралды 5 М.
Basic rspec Ruby on Rails model specs
24:27
CJ Avilla (cjav_dev)
Рет қаралды 17 М.