Hi, Bob-
The above example should still work, yes. Can you verify once that you're using the exact login and API key values shown at http://bitly.com/a/your_api_key? We'll work on making the documentation clearer for endpoints that still support API key authentication, sorry for the confusion.
Thanks, and all the best,
Matt
Hello,I've tried following several examples from the web of how to get a shortened URL using bit.ly and PHP, like so:$api_call = file_get_contents("http://api.bitly.com/v3/shorten?login=".BIT_USER."&apiKey=".BIT_API."&longUrl=".$url);Apparently this doesn't work anymore? I get error 500 invalid login. Is there a simple example somewhere of how to do it now? I tried to follow the OAuth API documentation but don't know if I need to. It set my head spinning compared to the above. Any comparable examples to the above?ThanksBob--
You are subscribed to the bit.ly API discussion group.
To post, email to bitl...@googlegroups.com
For more options, visit http://groups.google.com/group/bitly-api
When I go to that link, I see the correct API key, but it says my user name is 'o_7h2i2h3nat'.It should be 'voxelapp'. What am I doing wrong?
OK -- but where did you get that link from? In other words, how do I find that name when I am logged into my account? I don't see it anywhere, and I would not have known about
http://bitly.com/a/your_api_key without posting a question here to these groups.