954,587 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

YouTube API

Is there a way of checking if a YouTube user exists?

Barrett1
Light Poster
36 posts since Mar 2010
Reputation Points: 10
Solved Threads: 0
 

could just try to request the username your looking into with the profile feed

http://gdata.youtube.com/feeds/api/users/username

should get a 404 with User not found in the body, if the user is not created.or a normal feed if they exist.

More info here http://code.google.com/apis/youtube/2.0/developers_guide_php.html#Profiles

=OTS=G-Man
Light Poster
47 posts since Jul 2009
Reputation Points: 37
Solved Threads: 10
 

That won't work for me, I need a Variable or something. It cannot be an error page.

Barrett1
Light Poster
36 posts since Mar 2010
Reputation Points: 10
Solved Threads: 0
 

I got it I'm just gonna use JQuery.

Barrett1
Light Poster
36 posts since Mar 2010
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: