By Rob on Tuesday, 20 September 2016
Posted in General
Likes 0
Views 291
Votes 0
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
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
Rob
·
Wednesday, 21 September 2016 23:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Rob,

Can you provide us with your Twitter account so we can have a better view for this? You can simply add the information needed by edit your first post in the site details.
·
Tuesday, 20 September 2016 15:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Google can not grant you Api
·
Tuesday, 20 September 2016 17:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Muhammad Fadhli and Huy Vũ Art,

Thank you both for your reply. The Twitter works fine but it is just Google that stopped working. The Twitter key is setup with https.

Since I switched to https Google will not shorten the URL.

Let me research this more. I'll be back.

Regards,
Rob
Rob
·
Tuesday, 20 September 2016 22:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for sharing Rob, we will include this into our documentation.
·
Wednesday, 21 September 2016 23:59
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post