Sample code to upload a video on youtube in iphone sdk
===

I want to develop an app for uploading a video on youtube on iOS 5.1 .I have seen the google api but got a code which is not running as giving errors and absence of GData api.Please provide me a sample app containing GData api.