It's a weekend. Stay calm and enjoy.

It is currently a weekend from where we are at. If your client or employer requires you to work during the weekend, this would be a good read. Rest assured that we will get back to your posts as soon as the week starts!

Official support hours is from 10AM — 7PM Monday to Friday (GMT +8)

Google Shortener Not Shortening Links
Resolved

Hello,

I have just setup https on my site and started testing the Twitter feeds and everything gets posted to Twitter but a few hours ago it just stopped. I created a test blog to see if it would auto post to Twitter and it did but the Google shorterner is not working. Could you help and please take a look? I tried everything I know that I learned from you awesome people. :)

The Google shortener was working and I reset up a new key to see if that would help. It just stopped working.

Regards,
Rob
Tech News 24/7 techlick.com
4 replies
Rob replied on Wednesday, September 21 2016, 11:42 PM
Accepted Answer
Hello,

This ticket can be closed. The reason was that Goggle changed their API setup (was using an old API string). So here are the steps to setup an API key:

1. Go to Google API Console.

2. In the upper left you will see Google APIs and Project. Click on Project to Create project. Name your project in the window that pops up.

3. Then click on Enable API. This will bring up all the APIs that Google has. Look over to the right bottom for URL Shortener API and click on that and then click on Enable towards the top.

4.
Then you must create credentials - Google will give you this message:

This API is enabled, but you can't use it in your project until you create credentials.
Click "Go to Credentials" to do this now (strongly recommended).


5. On the right hand side click on Go to Credentials.

6. A new window will open up and display Add credentials to your project. Choose your project in the first drop down, choose Other non-UI (e.g. cron job, daemon) from the second drop down, and choose Public data.

Then click What credentials do I need? button.

7. Your new API key will be created and you can click on the Done button.

You should be able to use it right away. You could edit it and restrict it to your domains or website. The easiest way to do this is by choosing IP addresses (web servers, cron jobs, etc.) and inputting your web servers IP address.

I have attached images that will step you through the process. If you don't have a step through process you may want to use this one in creating API keys.

Cheers and thanks for the support!

Regards,
Rob
Tech News 24/7 techlick.com
Your time
Stack Ideas time
Support is
Offline
It's weekend!

It is currently a weekend from where we are at. Some answers may already be available on our documentation at http://stackideas.com/docs

Rest assured that we will get back to your posts as soon as the week starts!


Official support hour is:
Monday — Friday. 10:00 am - 7:00 pm
Our timezone:
Kuala Lumpur (GMT +8)