mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[GH-ISSUE #392] Woo commerce api does not permit to reach data when use the oauthswift 1.0 #250
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#250
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bkryslky on GitHub (Jul 11, 2017).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/392
Description:
Hi i am using oauthswift 1.0 to authorize woo commerce api but woo api services is giving 401 error and it says that you can not list . I checked all woo commerce api docs reference i try different libraries . Anyone has any idea to use woo commerce api? Thank you have nice day.
OAuth Provider (Twitter, Github, ..):
woo api services
OAuth Version:
OS (Please fill the version) :
Installation method:
Library version:
Xcode version:
8.0 (Swift 3.0)
8.0 (Swift 2.3)
7.3.1
other: (Please fill in the version you are using.)
objective c
@phimage commented on GitHub (Jul 11, 2017):
first please provide link to woo documentation
really use swift 2.3?
please give the full error message from api, without modifying any letter or word (this help to look for using google)
did you have some code to show. how you initialize the oauth1Swift for instance, and how you call authorize. Without that, it's very difficult to see the issue
@bkryslky commented on GitHub (Jul 11, 2017):
message says that sorry you can't list
for instance

Eric i saw your posts about that but i tried different approach but it didn't work
@bkryslky commented on GitHub (Jul 11, 2017):
https://woocommerce.github.io/woocommerce-rest-api-docs/#introduction
woocommerce api doc link
@phimage commented on GitHub (Jul 11, 2017):
the error is woocommerce_rest_cannot_view
https://github.com/woocommerce/woocommerce/search?utf8=%E2%9C%93&q=woocommerce_rest_cannot_view&type=
a configuration issue, your user has no right to list resources
@bkryslky commented on GitHub (Jul 11, 2017):
Woocommerce api service is working on postman and android platform. I am trying different
ways to solve problem.
@phimage commented on GitHub (Jul 11, 2017):
your callbackurl is wrong in your code. you do not get a token and secret I think
check readme to know what the purpose of callback url
@bkryslky commented on GitHub (Jul 12, 2017):
I tried for authorization this url(http://magentotest.1ticaret.com/wordpress/wc-auth/v1/authorize) but it didn't work again. And i have not still found a solution.
@phimage commented on GitHub (Jul 12, 2017):
you do not read my message
your callback url is wrong
must be yourappscheme://callback.... or have a server to redirect or have a web view delegate and do the code
all is in readme
@nizzam commented on GitHub (Feb 2, 2018):
@bkryslky Have you fixed the issue ? If yes, kindly share the solutions.