These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Install links on API management page

First post
Author
CCP Spitfire
C C P
C C P Alliance
#1 - 2011-09-06 07:38:14 UTC  |  Edited by: CCP Prism X
Hello,

There's a small undocumented feature in the new API system.

We heard that people wanted an easier way on mobile phones to install API keys. So we now have a way to show a button for each key, which you can listen for when is clicked and it will redirect to an URL which contains the key.

To use this, you have to use this URL:
https://support.eveonline.com/api/Key/ActivateInstallLinks

This will set your cookie to show the install link. If you want to set this cookie manually, you need to set "ShowInstallLinks" to "true".

We hope this will make it easier for mobile users to make use of the API.

-Stillman

CCP Spitfire | Marketing & Sales Team @ccp_spitfire

Johnathan Roark
Quantum Industries
#2 - 2011-09-09 02:01:21 UTC
Would love to see something added for websites

EVEVERIFY - A recruiting API Verification and Audit Tool

Also try out Yapeal for your php api needs

PsyKzz
Bat Country
Pandemic Horde
#3 - 2011-09-10 12:23:50 UTC
Johnathan Roark wrote:
Would love to see something added for websites

Simple, just ask them to copy and paste their install link and your done.

Meh.

Johnathan Roark
Quantum Industries
#4 - 2011-09-10 20:52:19 UTC
PsyKzz wrote:
Johnathan Roark wrote:
Would love to see something added for websites

Simple, just ask them to copy and paste their install link and your done.



Yes, that would work rather well. Requires the user to do a little bit more then they would on a desktop app or mobile app, but would be far easier then to have to copy two pieces of info into separate f eilds

EVEVERIFY - A recruiting API Verification and Audit Tool

Also try out Yapeal for your php api needs

Taureau
The Scope
Gallente Federation
#5 - 2011-09-12 10:26:29 UTC
Please please please, do something like this for websites that use API registration. Cry

.

Selina Lonarin
#6 - 2011-09-14 13:33:40 UTC
CCP Spitfire wrote:
We heard that people wanted an easier way on mobile phones to install API keys. So we now have a way to show a button for each key, which you can listen for when is clicked and it will redirect to an URL which contains the key.


<3

I've been wanting this functionality for quite some time as evidenced by this old forum post: http://www.eveonline.com/ingameboard.asp?a=topic&threadID=823143

Thanks guys. :)
Tanya Powers
Doomheim
#7 - 2011-09-23 13:50:46 UTC  |  Edited by: Tanya Powers
Can't install Api: Error Code: -302

Can't fit it in to Evemoon
-previous Api's format deleted from Evemoon but stil available on Api page (must be deleted?)


Ugh
Ydnari
Estrale Frontiers
#8 - 2011-09-23 20:04:13 UTC
This is good.

If you could show a QRcode representation of it (others suggested this on the old forum) then that gives another convenient way of registering mobile apps. That way you can log in on your usual EVE PC, and scan the code off the screen with your mobile's camera (e.g. on android with a callback to zxing's Barcode Scanner app, or whatever the equivalent on iPhone is) without needing to type your obviously-amazingly-strong-and-awkward-to-type-on-a-mobile EVE password on your phone to get to the API management page.

There's various server-side libraries to generate such a code - even some javascript ones to do it in the browser client-side.

--

Darth Skorpius
352 Industries
#9 - 2011-09-28 06:02:36 UTC
Ydnari wrote:
This is good.

If you could show a QRcode representation of it (others suggested this on the old forum) then that gives another convenient way of registering mobile apps. That way you can log in on your usual EVE PC, and scan the code off the screen with your mobile's camera (e.g. on android with a callback to zxing's Barcode Scanner app, or whatever the equivalent on iPhone is) without needing to type your obviously-amazingly-strong-and-awkward-to-type-on-a-mobile EVE password on your phone to get to the API management page.

There's various server-side libraries to generate such a code - even some javascript ones to do it in the browser client-side.


this tbh. either that or have the install links show up in mobile browsers. i tried using opera mini but the install links didnt show up. i had to type it in manually (copy/pasted the actual key) and my android based phones default browser wont even let me log into the api page (isnt verifying my login info properly for some reason, need to submit a bug report on that) so i dont know if it shows up using that. going to try some other mobile browers in the next couple of weeks to see if they work, unless someone already has and can save me the trouble :D
Krathos Morpheus
Legion Infernal
#10 - 2011-10-04 12:25:55 UTC  |  Edited by: Krathos Morpheus
Darth Skorpius wrote:
either that or have the install links show up in mobile browsers. i tried using opera mini but the install links didnt show up. i had to type it in manually (copy/pasted the actual key) and my android based phones default browser wont even let me log into the api page (isnt verifying my login info properly for some reason, need to submit a bug report on that) so i dont know if it shows up using that. going to try some other mobile browers in the next couple of weeks to see if they work, unless someone already has and can save me the trouble :D
Tested in Android 2.3.7 with Firefox, default browser and Dolphin without issues. You have to accept a security certificate and that's it. The install links are intended to be used in mobile browsers, but the page, as with every EVE online page is not optimized for mobile though.

You need to use the appropriate address for the install links to show up, then the app needs to implement the use of install links for it to work.
MJ Maverick
Hybrid Industrial
#11 - 2011-10-04 16:57:53 UTC
+1 Definately need a link for websites. Don't make us haveto make the users go through 8 million errors because they haven't given the app enough permission.
LosAwos
Coal Diggers
#12 - 2011-10-09 14:12:49 UTC
One problem I'm having with this system is that on iOS devices if two third party apps are registered with the same url scheme then "the application that launches for a url with that scheme is undefined".

Therefore in order to make this solution viable for iOS it would be good if we could specify the url scheme to use in the query string of the url.

For example if the app launches the web browser using the url "https://support.eveonline.com/api/Key/ActivateInstallLinks?urlscheme=myapp" then the url in the install link would be "myapp://api.eveonline.com/installKey?keyID=&vCode="

Obviously if no scheme is specified then it could default to "eve://"