I have told about this problem through video. Please see the video here:
I have a strange problem about the YouTube API for example
http://gdata.youtube.com/feeds/api/users/tryingtobesikh < / Pre> With the count of customers, the above mentioned returns. But when a person subscribes, it does not get updated immediately after refreshing it. But the strange thing is, when I press F5 (refresh) twice, it is updated. I do not know if there is a problem, there may be some cash problem? I am working on a script where I have to check whether someone has subscribed or if the user has done this, then if nothing else has done then I need to change the number of instant subscribers. Any kind of help Will be really appreciated.
The official YouTube API documentation considers that updating data may be delayed:
Statistics, such as the number of times a video was watched or the number of comments available for a video, is usually updated two hours after the upload is completed 30 minutes. However, this delay may be long under the huge API server load.
On an ongoing basis, statistics for the video are usually updated every 30 minutes to two hours. However, there may be updates for videos under heavy server loads or for less frequently viewed videos. In the search feed, updates of ratings and views can take up to a few weeks as long as possible.
Note one side; I have used the YouTube API only once, but as you said you need to see if the user has subscribed to any other user, can you check the Activity Feed API? Because there is information about recent subscriptions in:
Comments
Post a Comment