Not getting response code on eBay redirect URL

旧巷老猫 提交于 2020-01-06 08:07:02

问题


I'm trying to call below link to connect with eBay O'Auth account.

https://auth.ebay.com/oauth2/authorize?client_id=' . APP_ID . 
'&response_type=code&redirect_uri=' . RU_NAME . 
'&scope=https://api.ebay.com/oauth/api_scope 
https://api.ebay.com/oauth/api_scope/sell.marketing.readonly 
https://api.ebay.com/oauth/api_scope/sell.marketing 
https://api.ebay.com/oauth/api_scope/sell.inventory.readonly 
https://api.ebay.com/oauth/api_scope/sell.inventory 
https://api.ebay.com/oauth/api_scope/sell.account.readonly 
https://api.ebay.com/oauth/api_scope/sell.account 
https://api.ebay.com/oauth/api_scope/sell.fulfillment.readonly 
https://api.ebay.com/oauth/api_scope/sell.fulfillment 
https://api.ebay.com/oauth/api_scope/sell.analytics.readonly

But it's response is blank while I'm using same thing on localhost and it's working fine but when I give live servers URL then it's response is blank.

I'm using production eBay account details. Even with same details working on localhost. Also my live server have SSL.


回答1:


Try to get the url from eBay themselfs:

  1. Go to eBay link for Autorization:
    eBay Autorization page for Developers
  2. Then click on Get a Token from eBay via Your Application
  3. Now click on See all
  4. Copy the whole string, take that url instead of making it yourself.


来源:https://stackoverflow.com/questions/50640852/not-getting-response-code-on-ebay-redirect-url

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!