问题
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:
- Go to eBay link for Autorization:
eBay Autorization page for Developers - Then click on Get a Token from eBay via Your Application
- Now click on See all
- 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