goo.gl Api: How to know if URL was added to user's history?
Posted
by
Manuel
on Stack Overflow
See other posts from Stack Overflow
or by Manuel
Published on 2011-02-03T11:41:25Z
Indexed on
2011/03/19
16:09 UTC
Read the original article
Hit count: 293
I'm using the goo.gl API as described here.
It's easy to use and it works with or without authantication (I'm using OAuth). So, if I provide the OAuth token / secret, the shortened URL is added to the users history.
My problem is, that I would like to show to the user that the shortened URL was added to his goo.gl history. The respone you get from the shortening request, however, is always the same, whether you use authorization or not:
{
"kind": "urlshortener#url",
"id": "http://goo.gl/fbsS",
"longUrl": "http://www.google.com/"
}
So, does anyone know a way to find out, if the shortened URL was successfully added to the user's history? Is there a parameter you can add to the request URL that leads to a more detailed result string?
© Stack Overflow or respective owner