开发者

How to get notification from Youtube through ios push notification service [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
开发者_开发问答

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 8 years ago.

Improve this question

I make youtube app for iphone. When my app state in background i want to get notification. How to receive the notice on the come messages from youtube through ios push notification service? tnx!


Does Youtube provide push notifications? You'll have to figure out how they register devices, and use the same method in your own app. Alternatively, you'll want to set up your own push server that scrapes Youtube or uses an API to interface with Youtube, so that it knows when to send push messages.


well you would need to use the JSON feed they have to get the info (ping it every 10/30 minutes via cron then if it sees a new video get it to send the message, if you search "advance ios apns" you will get a site/script that will send the notifications for you (to the apple devices)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜