C#4.0-使用bit.ly缩短网址 [英] c# 4.0 - Shortening url using bit.ly
本文介绍了C#4.0-使用bit.ly缩短网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是网络的初学者,我会在Twitter上使用一些小技巧发布快捷方式链接,我该怎么做?
对不起,我的英语不好
谢谢,
I''m beginner in the web, I''ll post in Twitter the shortcut links using bitly, How can i do this ?
I am sorry for my bad english
thanks,
推荐答案
要使用C#创建bit.ly网址,您将需要使用其API并注册以获得开发者的帐户.以下是如何使用C#访问其API的示例:
https://sites.google.com/site/bitlyapp/ [ http://www.dotnetspark.com/kb/1924-creating-simple- twitter-client-application.aspx [ ^ ]
To create bit.ly urls using C#, you will need to use their API and sign up to get a developer''s account. Here is an example of how to access their API using C#:
https://sites.google.com/site/bitlyapp/[^]
To access twitter using C#, you will use a similar method (including signing up for a developer''s account). Here is an example of how to do that:
http://www.dotnetspark.com/kb/1924-creating-simple-twitter-client-application.aspx[^]
这篇关于C#4.0-使用bit.ly缩短网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文