I'm trying to find a way to upload a video to YouTube or Facebook...
I know It is possible as some apps use it.
I was scanning the web for hours but no results...
I know it's somehow related to GData.
Can someone PLEASE help me with this?
I'm trying to find a way to upload a video to YouTube or Facebook...
I know It is possible as some apps use it.
I was scanning the web for hours but no results...
I know it's somehow related to GData.
Can someone PLEASE help me with this?
Thanks in advance!
YouTube has an API. Look it up. You can do it without the whole GData project.
__________________
Haters gonna Hate
Likers gonna Like
YouTube has an API. Look it up. You can do it without the whole GData project.
It all seems to go back to GData somehow...
I found a sample code: Here
It keeps getting me a bunch of errors such as Code=400, "the operation couldn't be completed".
Can you please try it and tell me what's wrong?
I put the developer key as my own and the Client ID as the name of the product i registered...
It all seems to go back to GData somehow...
I found a sample code: Here
It keeps getting me a bunch of errors such as Code=400, "the operation couldn't be completed".
Can you please try it and tell me what's wrong?
I put the developer key as my own and the Client ID as the name of the product i registered...
Thanks A LOT in advance!
If you read the error messages you would understand...
From Google: too_long -This code indicates that an XML element's value exceeds the maximum allowable length. For example, video titles must be 60 characters or less.
Your keywords are too long in the example. Shorten them...
Also, I noticed it only worked when i used my YouTube username rather than the gmail email address
If you read the error messages you would understand...
From Google: too_long -This code indicates that an XML element's value exceeds the maximum allowable length. For example, video titles must be 60 characters or less.
Your keywords are too long in the example. Shorten them...
Also, I noticed it only worked when i used my YouTube username rather than the gmail email address
Hey there,
Thank you so much for your help, I really appreciate it!
I finally got this to work thanks to your help
Can you please tell me if there is any way I can convert this code to make it upload to Facebook? If not, can you give me an idea of where to start?
I read about REST API video.upload but I have no idea of how to apply it..
Hey there,
Thank you so much for your help, I really appreciate it!
I finally got this to work thanks to your help
Can you please tell me if there is any way I can convert this code to make it upload to Facebook? If not, can you give me an idea of where to start?
Thanks A LOT for your EFFORT and HELP!
Once you have it uploaded to youtube you could take that link and just use Facebook's SDK to post the link to a users wall via stream.publish. If it's a youtube video, I think Facebook usually automatically puts up the video thumbnail right next to it without you having to ask, although I'm not sure if they do that when its posted via a mobile device.
Hey there,
Thank you so much for your help, I really appreciate it!
I finally got this to work thanks to your help
Can you please tell me if there is any way I can convert this code to make it upload to Facebook? If not, can you give me an idea of where to start?
I read about REST API video.upload but I have no idea of how to apply it..
Thanks A LOT for your EFFORT and HELP!
You are welcome. The Facebook API is a totally different ballpark. You will
Need to read up on HTTP POST and all that mumbojumbo. It's not super difficult but not as easy as using the youTube GData Code.
__________________
Haters gonna Hate
Likers gonna Like
Once you have it uploaded to youtube you could take that link and just use Facebook's SDK to post the link to a users wall via stream.publish. If it's a youtube video, I think Facebook usually automatically puts up the video thumbnail right next to it without you having to ask, although I'm not sure if they do that when its posted via a mobile device.
Regarding your post, can you advise how one can, once having immediately posted a video to YouTube via the gdata YouTube api, then share that unique URL YouTube generates via email. I know how to do the email bit but how to extract the URL I'm not sure of.
Would appreciate any help or code samples you could offer.