mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 20:55:57 +03:00
[GH-ISSUE #136] Not Working with Dribble API when using With OauthSwift Demo examle #84
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#84
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 @sucharuhasija on GitHub (Nov 3, 2015).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/136
let oauthswift = OAuth2Swift(
consumerKey: Dribbble["consumerKey"]!,
consumerSecret: Dribbble["consumerSecret"]!,
authorizeUrl: "https://dribbble.com/oauth/authorize",
accessTokenUrl: "https://dribbble.com/oauth/token",
responseType: "bearer"
)
@phimage commented on GitHub (Nov 3, 2015):
Have you an error message printed?
@sucharuhasija commented on GitHub (Nov 4, 2015):
No , it doesn't show me the Webpage to login
@phimage commented on GitHub (Nov 4, 2015):
you use the demo or copy the code into new project?
how you want to display this page,
UIApplication.sharedApplication().openURL(url))oauthswift.authorize_url_handler = ...to specify what to do with the url , ie. open your web view and load the url@sucharuhasija commented on GitHub (Nov 4, 2015):
Thanks , The issue is resolved due to the internal web view of the Project
.
But i need your help in another issue.
About Pinterest . I integrated all the things as per the instructions in
the Pinterest Site(Pinterest Authentication
https://developers.pinterest.com/docs/api/authentication/ ) and for
OAuthSwift 2.0.
Here is my code.
"Pinterest","redirect_uri":"https://oauth-callback/pinterest"]
https://oauth-callback/pinterest")!, scope: "read_public", state:
"Pinterst",params:
param,success: {
credential.oauth_token)"
JSONObjectWithData(data, options: [])
NSDictionary
On Wed, Nov 4, 2015 at 10:47 PM, Phi Mage notifications@github.com wrote: