Friday, January 13, 2012

Re: [YouTube-API] Java API getSubscribersCount() = 0?

Me too. Maybe you guys have a DB replica that's in a bad state, or a bug in some newly pushed code? For example, a simple python for-loop encounters '0' fairly often:

In [315]: for i in range(20): print yt_service.GetYouTubeUserEntry(username='kidrauhl').statistics.subscriber_count; time.sleep(1)
   .....: 
1426653
1426653
1426653
0
1426653
1426653
1426653
1426653
1426653
1426653
1426653
1426653
1426653
1426653
1426653
1426653
1426653
1426653
0

-Andrew

On Fri, Jan 13, 2012 at 10:48 AM, Darren Fung <fubrub@gmail.com> wrote:
I'm using the Java YouTube API to get the subscribers for say, a list of 10 users, but one of the users will randomly have subscribercount=0, but on a separate run, it'll be filled. I can't for the life of me figure out why it's coming back as 0 when two other fields, lastAccess and totalUploadViews are non-zero

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/y-1wfxjVK0wJ.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.



--
Andrew

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment