Closed weboverhauls closed 11 years ago
tried to get an app key from webaim, but jared said you already one. yet i cant find it. do you know?
The key is "a11y". From EC1:
$req = "http://weba.im/api.php?action=shorturl&url=".urlencode($_GET["url"])."&format=json&key=a11y";
Andrew, I see you've done a lot of work on this. What's the status?
It works for webaim - shortening and expanding. The URL you'll use is http://easychirp.local/url_shorten/webaim You'll set 2 params via POST - url and ajax. http://easychirp.local/url_expand/webaim works the same but uses a shortened URL as the url parameter
I was hoping you'd finish the server-side trip by now. Shouldn't the service be a post parameter (like the form)? How is a URL submitted to bitly?
We need to finish this ASAP.
I'll be working on this today. Shouldn't take too long
This is done - ready for testing.
Sorry man, I have 2 problems.
public function url_shorten()
{
$type = $this->input->post('urlService');
$this->load->library('url_shortener');
I created a bitly account and added my credentials. Still doesn't work. I don't get it. Can you please give it a spin? I couldn't find a client_secret but an api key. Feel free to user my user/pw to log in on browser if you need to. [5ecdb62]
It's frustrating that Bitly was working yesterday but not today with the same code. I'm actively working on this.
Sweet!!!
When complete, need to ask Jared to update http://weba.im/ with URL format to send shorten link from that app to EC2.