Fmstrat / Fmstrat/shorten

Goo.gl shortener not working here

Open
#3 51 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
30
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Hi there,

First, thank you for your work. Since OwnCloud 5 we don't have a shortening service (Shorty does not work for me, or it seems very complex to configure).

I saw I could set goo.gl shortening service. I'm not a big fan of Google, but I want to shorten my urls desperately...

Well, I set up my API key on google's developers console, and pasted on the OC Administration shorten section, where I previously selected goo.gl service as shorten service.

Now, when I click share on a file or folder, my typical URL appears (i.e.: http://myhostname/public/service/files/blahblah....). Note I have a dynamic DNS service.

What I did in order to get the public API on Google's Dev Console was to create a browser key ( a server key asked for an IP, and the others were Android app or iOS app) and put in there: _malevolent.servebeer.com/_ (my no-ip host with the wildcards)

Error log says
Undefined index: type at /srv/http/owncloud/apps/shorten/ajax/setval.php#14
Undefined index: host at /srv/http/owncloud/apps/shorten/ajax/setval.php#6

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.