dashed-slug.net › Forums › ShapeShift Exchange extension support › Cannot get satellizer token for ShapeShift extension from browser console
Tagged: satellizer token, shapeshift
- This topic has 9 replies, 4 voices, and was last updated 3 years, 8 months ago by
alexg.
-
AuthorPosts
-
July 9, 2020 at 12:51 am #8786
zhak
Participantpleas help,
just as the plugin instructed. “press f12 to get token”
well this doesn’t work for me.. bcos it display only error on javascript console.. please help
July 9, 2020 at 12:55 am #8787zhak
Participantfind error in image here ==> https://ibb.co/4JR9ZsK
pls help assist on how to get the token easily
July 9, 2020 at 5:29 am #8789alexg
KeymasterEven though there are some warnings/errors on the console, if you type
localStorage.getItem('satellizer_token');
you should get back a string, if you are logged in. Did you attempt this? In the screenshot it does not look like you have typed the command.July 11, 2020 at 9:10 pm #8811Anonymous
InactiveI am having the same issue.
I am logged in and can’t get it to return anything.
Typing it in “filter” returns nothing
I’m also not sure where to type “localStorage.getItem(‘satellizer_token’);” Do I type it in element section, console section,? I tried ctrl, shift P and run it as a command It says “no commands found”. (see screen shot)
Saying type it in the console is not enough to get me through. 🙂
~~~~~~~~~~~~
The link to the support page in the Shapeshift WP plugin is bad. It says The page you were looking for doesn’t exist
You may have mistyped the address or the page may have movedThank you for your support.
Attachments:
You must be logged in to view attached files.July 11, 2020 at 9:11 pm #8815Anonymous
InactiveFYI: I tried this on the account page (https://portal.shapeshift.io/me/fox/dashboard) and the home page after logging in.
July 13, 2020 at 8:25 am #8820alexg
KeymasterHello,
The “filter” field is not for entering JavaScript expressions.
For background reading on how to use the console, you can also look at this: https://www.digitalocean.com/community/tutorials/how-to-use-the-javascript-developer-console DigitalOcean always has the best introductory guides.
Here’s a more clear instruction list:
1. Login to ShapeShift.
2. Open the browser console using F12.
3. Go to the “Console tab”. This is the JavaScript console. There will be a number of warnings, as seen in the screenshots above.
4. Below the last warning, click on the empty line beginning with a “>”.
5. In that area, paste the string
localStorage.getItem('satellizer_token');
. You will get back a string which is your satellizer token.Hope this helps.
with regards
July 13, 2020 at 4:04 pm #8823Anonymous
InactiveThank you that worked!
December 8, 2020 at 7:38 pm #9560Anonymous
InactivePlease do I need to have a shapeshift verified user account to access this area
December 9, 2020 at 8:34 am #9565alexg
Keymaster@bayutec It looks like ShapeShift has changed since this extensions was released. They now promote shapeshift.com in favor of shapeshift.io.
The plugin extension was build to communicate with this API: https://docs.shapeshift.io/
The Satellizer token, also known as an “Authorization token”, is no longer available by default.
According to the documentation, you now have to contact support to ask for the Authorization Token to build an application/integration.
I will look more into this and update the plugin’s instructions accordingly. In the meantime, you could ask them to generate a token for you. You might have to describe to them the type of website you are building. Please let me know if you were successful to get a token from the support team.
with regards
December 9, 2020 at 10:54 am #9568alexg
KeymasterOK thank you for bringing this to my attention. Having looked more into this, I am decommissioning the ShapeShift extension.
It is no longer suitable for use by the plugin. The end user must sign in using OAuth2 to gain access to a number of wallets that can be extrernal, and therefore not relevant to this plugin.
If you need to provide exchange functionality, you can set up markets using the Exchange extension. If the markets have enough liquidity (limit orders on the orderbook), you can provide similar functionality using the
[wallets_exchange_market_order]
shortcode: https://www.dashed-slug.net/exchange-swap-ui-plus-theme-templating/Apologies for the trouble.
-
AuthorPosts
- You must be logged in to reply to this topic.