Closed LiohMoeller closed 9 years ago
http://qttr.at/yourls-api.php doesn't work with most browsers if you're on https
shortener.php works on gnusocial.ch when i tried it: https://gnusocial.ch/local/plugins/Qvitter/shortener.php?format=jsonp&action=shorturl&signature=b6afeec983&url=https%3A%2F%2Fgnusocial.ch%2F
try adding https://gnusocial.ch/local/plugins/Qvitter/shortener.php as the urlshortenerapiurl
I have added that to the config. When I now click on the >url< button the wheel in the top bar starts spinning but nothing happens. Nothing special in the logs also.
can i get a test account on gnusocial.ch?
thanks. the shortener works for me. what browser are you using? what's the url you're trying to shorten?
I am using Abrowser (FF) on Trisquel 7. If the shortener works, does it work inline or is the URL shortened when the dent is sent out?
it works inline, the urls present in the queets should be shortened and replaced
Here is an example I tried to shorten: http://www.linux-community.de/Internal/Nachrichten/VirtualBox-5.0-veroeffentlicht
the url is shortened for me
so maybe it's the browser..
It was related to the RefControl Addon I am using. Thanks for verifying.
ah great! i added some error reporting when shortening, so it was good this came up anyway.
Can you please point me towards the error reporting code? I have the same problem and I'm not using a RefControl addon.
I am trying to get the url shortener to work. I have first just set:
$config['site']['qvitter']['urlshortenerapiurl'] = 'http://qttr.at/yourls-api.php'; $config['site']['qvitter']['urlshortenersignature'] = 'b6afeec983';
in the config which did not help. Then I followed the instructions in shortener.php which lead to the same result.