Created
November 7, 2010 18:54
-
-
Save andrerocker/666319 to your computer and use it in GitHub Desktop.
Exemplo de utilização do BitlyJ - Post Blog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BitlyJExample | |
{ | |
public static void main(String[] args) | |
{ | |
Bitly bitly = BitlyFactory.newInstance("<seu-login>", "<sua-chave>"); | |
BitlyUrl bUrl = bitly.shorten("http://rosaloves.com/stories/view/13"); | |
URL url = bitly.expandHash("hopetransfusion"); | |
BitlyUrlInfo info = bitly.info("hopetransfusion"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment