2016-08-29 24 views
1

私はSwiftアプリケーションとPinterestの間で認証を実装しようとしています。Pinterest認証に失敗しました:-canOpenURL:URLで失敗しました: "pinterestsdk.v1:// oauth

CODE:

PDKClient.configureSharedInstanceWithAppId("************")//replaced appid with **** 

let permission = [PDKClientReadPublicPermissions] 


PDKClient.sharedInstance().authenticateWithPermissions(permission, fromViewController: self, withSuccess: { (pdk :PDKResponseObject!) -> Void in print("success PDKResponseObject: \(pdk)") 
}) { (err :NSError!) -> Void in 
    print("errori tuli: error NSError: \(err)") 
} 

ERROR:

-canOpenURL: failed for URL: "pinterestsdk.v1://oauth/?app_name=MyApp&permissions=read_public&client_id=4853625080298613350" - error: "(null)" 

私は理解できないOU私は私のPinterestのユーザー名/パスワードとOKAYプレスを入力した後、アプリは次のエラーメッセージがスローされます何が間違っているか。すべての助けが助けになる!

+0

これを理解できましたか?私はあなたがいる/していたところでちょっと立ち往生しています –

答えて

関連する問題