开发者

Post directly to twitter and youtube

I am thinking of adding a feature to my website that allows me to write a post or add a video on my site and also post it to my twitter and/or youtube accounts with the click of a button. Does anyone know if there is a way to do this? I am not looking for code, just some links to documentation on how this is done.

开发者_StackOverflow社区

Thanks.


Yes, there is. You have to connect with twitter and youtube, and you do it by using their API (Aplication Programming Interface). You register in their developers site and get a secret API key (kind of a password to allow you to use the API). Then, you just call their functions.


Twitter API: https://dev.twitter.com/

Youtube API: http://code.google.com/apis/youtube/overview.html

On these pages you will find code examples, libraries etc. which should be sufficient for you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜