1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-11-08 11:12:30 +01:00
1 Setting up the Android App URL Manager
Chaoyi Zha edited this page 2016-08-06 11:21:55 -07:00

URL Manager on Google Play

The app does not natively support Polr.me but there's a workaround. I'll walk you through it now.

Firstly, go into the app settings. Then, click on "developer options". Turn on the "CUSTOM" switch, this should activate other fields. Then set it up like this.

Request method: GET

Returned data: plain text

Endpoint URL: https://polr.me/publicapi.php?action=shorten&url=%long-url%

For a self hosted shortener, you may use http://yoursite.com/api/v2/action/shorten?key=API_KEY_HERE&url=%long-url%&custom_ending=CUSTOM_ENDING&is_secret=false

Make sure there are no spaces in the endpoint URL. Then save it and go back to the app's main page. Select "custom" in the drop-down for provider. You can also set it as your default option in the app settings if you want. Now you can enter any long URL in the box and it will be shortened with Polr.me. I've attached a screenshot of the app to show it works with Polr.me. If you run into any problems while setting it up, please contact me.

URL Manager on Google Play

URL Manager by Kizito Nwose with Polr.me