{"action":"created","comment":{"url":"https://api.github.com/repos/TravelMateSSU/IOS/pulls/comments/88150340","pull_request_review_id":8732882,"id":88150340,"diff_hunk":"@@ -47,14 +56,55 @@ class AppDelegate: UIResponder, UIApplicationDelegate {\n     \n     // 카카오사용자 정보 얻어오는 함수\n     private func getUserInfo(){\n+        networkManager = NetworkManager()\n+        \n         KOSessionTask.meTask(completionHandler: { (user, error) in\n             if user != nil {\n-                var koUser: KOUser\n-                koUser = user as! KOUser\n-                print(\"userid: \\(koUser.id)\")\n-                print(\"nickname: \\(koUser.property(forKey: \"nickname\"))\")\n+                let koUser = user as! KOUser\n+                \n+                self.userInfo.id = koUser.id.stringValue\n             }\n         })\n+        \n+        KOSessionTask.talkProfileTask(completionHandler: { (talkProfile, error) -> Void in\n+            if error != nil {\n+                dump(error)\n+                \n+                self.setUserInfo(userInfo: self.userInfo)\n+            } else {\n+                let profile = talkProfile as! KOTalkProfile\n+                \n+                self.userInfo.nickName = profile.nickName\n+                self.userInfo.profileImageURL = profile.profileImageURL\n+                self.userInfo.thumbnailImageURL = profile.thumbnailURL\n+                \n+                self.setUserInfo(userInfo: self.userInfo)\n+                \n+                self.networkManager.tryLoginAndJoin(isJoin: false, userInfo: self.userInfo) { (err, code) in","path":"TravelMate/AppDelegate.swift","position":62,"original_position":62,"commit_id":"7809501a5935671b9a1e38ea19ddf55fd27edf26","original_commit_id":"7809501a5935671b9a1e38ea19ddf55fd27edf26","user":{"login":"BangUl-Pro","id":10896116,"avatar_url":"https://avatars.githubusercontent.com/u/10896116?v=3","gravatar_id":"","url":"https://api.github.com/users/BangUl-Pro","html_url":"https://github.com/BangUl-Pro","followers_url":"https://api.github.com/users/BangUl-Pro/followers","following_url":"https://api.github.com/users/BangUl-Pro/following{/other_user}","gists_url":"https://api.github.com/users/BangUl-Pro/gists{/gist_id}","starred_url":"https://api.github.com/users/BangUl-Pro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BangUl-Pro/subscriptions","organizations_url":"https://api.github.com/users/BangUl-Pro/orgs","repos_url":"https://api.github.com/users/BangUl-Pro/repos","events_url":"https://api.github.com/users/BangUl-Pro/events{/privacy}","received_events_url":"https://api.github.com/users/BangUl-Pro/received_events","type":"User","site_admin":false},"body":"try 는 에러처리하는 느낌이 있어서 request로 바꾸는게 좋지 않을까요","created_at":"2016-11-16T01:09:58Z","updated_at":"2016-11-16T01:28:28Z","html_url":"https://github.com/TravelMateSSU/IOS/pull/13#discussion_r88150340","pull_request_url":"https://api.github.com/repos/TravelMateSSU/IOS/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/TravelMateSSU/IOS/pulls/comments/88150340"},"html":{"href":"https://github.com/TravelMateSSU/IOS/pull/13#discussion_r88150340"},"pull_request":{"href":"https://api.github.com/repos/TravelMateSSU/IOS/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/TravelMateSSU/IOS/pulls/13","id":93840036,"html_url":"https://github.com/TravelMateSSU/IOS/pull/13","diff_url":"https://github.com/TravelMateSSU/IOS/pull/13.diff","patch_url":"https://github.com/TravelMateSSU/IOS/pull/13.patch","issue_url":"https://api.github.com/repos/TravelMateSSU/IOS/issues/13","number":13,"state":"open","locked":false,"title":"Ui 개편","user":{"login":"yucaroll","id":8899299,"avatar_url":"https://avatars.githubusercontent.com/u/8899299?v=3","gravatar_id":"","url":"https://api.github.com/users/yucaroll","html_url":"https://github.com/yucaroll","followers_url":"https://api.github.com/users/yucaroll/followers","following_url":"https://api.github.com/users/yucaroll/following{/other_user}","gists_url":"https://api.github.com/users/yucaroll/gists{/gist_id}","starred_url":"https://api.github.com/users/yucaroll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yucaroll/subscriptions","organizations_url":"https://api.github.com/users/yucaroll/orgs","repos_url":"https://api.github.com/users/yucaroll/repos","events_url":"https://api.github.com/users/yucaroll/events{/privacy}","received_events_url":"https://api.github.com/users/yucaroll/received_events","type":"User","site_admin":false},"body":"![2016-11-16 5 13 58](https://cloud.githubusercontent.com/assets/8899299/20322330/f4e76f32-abbb-11e6-8941-8218c4616f9f.png)\r\n![2016-11-16 5 13 52](https://cloud.githubusercontent.com/assets/8899299/20322332/f4ea13d6-abbb-11e6-8f0f-07eece1c5e6a.png)\r\n![2016-11-16 5 13 22](https://cloud.githubusercontent.com/assets/8899299/20322331/f4e77fe0-abbb-11e6-9c68-a995774667a4.png)\r\n","created_at":"2016-11-15T20:17:39Z","updated_at":"2016-11-16T01:28:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8b0ca9f8bf5226b22f2f6c20015b6266368c47d9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/TravelMateSSU/IOS/pulls/13/commits","review_comments_url":"https://api.github.com/repos/TravelMateSSU/IOS/pulls/13/comments","review_comment_url":"https://api.github.com/repos/TravelMateSSU/IOS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TravelMateSSU/IOS/issues/13/comments","statuses_url":"https://api.github.com/repos/TravelMateSSU/IOS/statuses/7809501a5935671b9a1e38ea19ddf55fd27edf26","head":{"label":"TravelMateSSU:ui","ref":"ui","sha":"7809501a5935671b9a1e38ea19ddf55fd27edf26","user":{"login":"TravelMateSSU","id":22475103,"avatar_url":"https://avatars.githubusercontent.com/u/22475103?v=3","gravatar_id":"","url":"https://api.github.com/users/TravelMateSSU","html_url":"https://github.com/TravelMateSSU","followers_url":"https://api.github.com/users/TravelMateSSU/followers","following_url":"https://api.github.com/users/TravelMateSSU/following{/other_user}","gists_url":"https://api.github.com/users/TravelMateSSU/gists{/gist_id}","starred_url":"https://api.github.com/users/TravelMateSSU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TravelMateSSU/subscriptions","organizations_url":"https://api.github.com/users/TravelMateSSU/orgs","repos_url":"https://api.github.com/users/TravelMateSSU/repos","events_url":"https://api.github.com/users/TravelMateSSU/events{/privacy}","received_events_url":"https://api.github.com/users/TravelMateSSU/received_events","type":"Organization","site_admin":false},"repo":{"id":69360320,"name":"IOS","full_name":"TravelMateSSU/IOS","owner":{"login":"TravelMateSSU","id":22475103,"avatar_url":"https://avatars.githubusercontent.com/u/22475103?v=3","gravatar_id":"","url":"https://api.github.com/users/TravelMateSSU","html_url":"https://github.com/TravelMateSSU","followers_url":"https://api.github.com/users/TravelMateSSU/followers","following_url":"https://api.github.com/users/TravelMateSSU/following{/other_user}","gists_url":"https://api.github.com/users/TravelMateSSU/gists{/gist_id}","starred_url":"https://api.github.com/users/TravelMateSSU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TravelMateSSU/subscriptions","organizations_url":"https://api.github.com/users/TravelMateSSU/orgs","repos_url":"https://api.github.com/users/TravelMateSSU/repos","events_url":"https://api.github.com/users/TravelMateSSU/events{/privacy}","received_events_url":"https://api.github.com/users/TravelMateSSU/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TravelMateSSU/IOS","description":null,"fork":false,"url":"https://api.github.com/repos/TravelMateSSU/IOS","forks_url":"https://api.github.com/repos/TravelMateSSU/IOS/forks","keys_url":"https://api.github.com/repos/TravelMateSSU/IOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TravelMateSSU/IOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TravelMateSSU/IOS/teams","hooks_url":"https://api.github.com/repos/TravelMateSSU/IOS/hooks","issue_events_url":"https://api.github.com/repos/TravelMateSSU/IOS/issues/events{/number}","events_url":"https://api.github.com/repos/TravelMateSSU/IOS/events","assignees_url":"https://api.github.com/repos/TravelMateSSU/IOS/assignees{/user}","branches_url":"https://api.github.com/repos/TravelMateSSU/IOS/branches{/branch}","tags_url":"https://api.github.com/repos/TravelMateSSU/IOS/tags","blobs_url":"https://api.github.com/repos/TravelMateSSU/IOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TravelMateSSU/IOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TravelMateSSU/IOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/TravelMateSSU/IOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TravelMateSSU/IOS/statuses/{sha}","languages_url":"https://api.github.com/repos/TravelMateSSU/IOS/languages","stargazers_url":"https://api.github.com/repos/TravelMateSSU/IOS/stargazers","contributors_url":"https://api.github.com/repos/TravelMateSSU/IOS/contributors","subscribers_url":"https://api.github.com/repos/TravelMateSSU/IOS/subscribers","subscription_url":"https://api.github.com/repos/TravelMateSSU/IOS/subscription","commits_url":"https://api.github.com/repos/TravelMateSSU/IOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/TravelMateSSU/IOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/TravelMateSSU/IOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/TravelMateSSU/IOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/TravelMateSSU/IOS/contents/{+path}","compare_url":"https://api.github.com/repos/TravelMateSSU/IOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TravelMateSSU/IOS/merges","archive_url":"https://api.github.com/repos/TravelMateSSU/IOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TravelMateSSU/IOS/downloads","issues_url":"https://api.github.com/repos/TravelMateSSU/IOS/issues{/number}","pulls_url":"https://api.github.com/repos/TravelMateSSU/IOS/pulls{/number}","milestones_url":"https://api.github.com/repos/TravelMateSSU/IOS/milestones{/number}","notifications_url":"https://api.github.com/repos/TravelMateSSU/IOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TravelMateSSU/IOS/labels{/name}","releases_url":"https://api.github.com/repos/TravelMateSSU/IOS/releases{/id}","deployments_url":"https://api.github.com/repos/TravelMateSSU/IOS/deployments","created_at":"2016-09-27T13:36:07Z","updated_at":"2016-11-03T06:58:33Z","pushed_at":"2016-11-15T21:12:56Z","git_url":"git://github.com/TravelMateSSU/IOS.git","ssh_url":"git@github.com:TravelMateSSU/IOS.git","clone_url":"https://github.com/TravelMateSSU/IOS.git","svn_url":"https://github.com/TravelMateSSU/IOS","homepage":null,"size":94368,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"TravelMateSSU:master","ref":"master","sha":"dae8ae139f64e0796e6b2e1e98434043742e1d73","user":{"login":"TravelMateSSU","id":22475103,"avatar_url":"https://avatars.githubusercontent.com/u/22475103?v=3","gravatar_id":"","url":"https://api.github.com/users/TravelMateSSU","html_url":"https://github.com/TravelMateSSU","followers_url":"https://api.github.com/users/TravelMateSSU/followers","following_url":"https://api.github.com/users/TravelMateSSU/following{/other_user}","gists_url":"https://api.github.com/users/TravelMateSSU/gists{/gist_id}","starred_url":"https://api.github.com/users/TravelMateSSU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TravelMateSSU/subscriptions","organizations_url":"https://api.github.com/users/TravelMateSSU/orgs","repos_url":"https://api.github.com/users/TravelMateSSU/repos","events_url":"https://api.github.com/users/TravelMateSSU/events{/privacy}","received_events_url":"https://api.github.com/users/TravelMateSSU/received_events","type":"Organization","site_admin":false},"repo":{"id":69360320,"name":"IOS","full_name":"TravelMateSSU/IOS","owner":{"login":"TravelMateSSU","id":22475103,"avatar_url":"https://avatars.githubusercontent.com/u/22475103?v=3","gravatar_id":"","url":"https://api.github.com/users/TravelMateSSU","html_url":"https://github.com/TravelMateSSU","followers_url":"https://api.github.com/users/TravelMateSSU/followers","following_url":"https://api.github.com/users/TravelMateSSU/following{/other_user}","gists_url":"https://api.github.com/users/TravelMateSSU/gists{/gist_id}","starred_url":"https://api.github.com/users/TravelMateSSU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TravelMateSSU/subscriptions","organizations_url":"https://api.github.com/users/TravelMateSSU/orgs","repos_url":"https://api.github.com/users/TravelMateSSU/repos","events_url":"https://api.github.com/users/TravelMateSSU/events{/privacy}","received_events_url":"https://api.github.com/users/TravelMateSSU/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TravelMateSSU/IOS","description":null,"fork":false,"url":"https://api.github.com/repos/TravelMateSSU/IOS","forks_url":"https://api.github.com/repos/TravelMateSSU/IOS/forks","keys_url":"https://api.github.com/repos/TravelMateSSU/IOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TravelMateSSU/IOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TravelMateSSU/IOS/teams","hooks_url":"https://api.github.com/repos/TravelMateSSU/IOS/hooks","issue_events_url":"https://api.github.com/repos/TravelMateSSU/IOS/issues/events{/number}","events_url":"https://api.github.com/repos/TravelMateSSU/IOS/events","assignees_url":"https://api.github.com/repos/TravelMateSSU/IOS/assignees{/user}","branches_url":"https://api.github.com/repos/TravelMateSSU/IOS/branches{/branch}","tags_url":"https://api.github.com/repos/TravelMateSSU/IOS/tags","blobs_url":"https://api.github.com/repos/TravelMateSSU/IOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TravelMateSSU/IOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TravelMateSSU/IOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/TravelMateSSU/IOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TravelMateSSU/IOS/statuses/{sha}","languages_url":"https://api.github.com/repos/TravelMateSSU/IOS/languages","stargazers_url":"https://api.github.com/repos/TravelMateSSU/IOS/stargazers","contributors_url":"https://api.github.com/repos/TravelMateSSU/IOS/contributors","subscribers_url":"https://api.github.com/repos/TravelMateSSU/IOS/subscribers","subscription_url":"https://api.github.com/repos/TravelMateSSU/IOS/subscription","commits_url":"https://api.github.com/repos/TravelMateSSU/IOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/TravelMateSSU/IOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/TravelMateSSU/IOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/TravelMateSSU/IOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/TravelMateSSU/IOS/contents/{+path}","compare_url":"https://api.github.com/repos/TravelMateSSU/IOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TravelMateSSU/IOS/merges","archive_url":"https://api.github.com/repos/TravelMateSSU/IOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TravelMateSSU/IOS/downloads","issues_url":"https://api.github.com/repos/TravelMateSSU/IOS/issues{/number}","pulls_url":"https://api.github.com/repos/TravelMateSSU/IOS/pulls{/number}","milestones_url":"https://api.github.com/repos/TravelMateSSU/IOS/milestones{/number}","notifications_url":"https://api.github.com/repos/TravelMateSSU/IOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TravelMateSSU/IOS/labels{/name}","releases_url":"https://api.github.com/repos/TravelMateSSU/IOS/releases{/id}","deployments_url":"https://api.github.com/repos/TravelMateSSU/IOS/deployments","created_at":"2016-09-27T13:36:07Z","updated_at":"2016-11-03T06:58:33Z","pushed_at":"2016-11-15T21:12:56Z","git_url":"git://github.com/TravelMateSSU/IOS.git","ssh_url":"git@github.com:TravelMateSSU/IOS.git","clone_url":"https://github.com/TravelMateSSU/IOS.git","svn_url":"https://github.com/TravelMateSSU/IOS","homepage":null,"size":94368,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TravelMateSSU/IOS/pulls/13"},"html":{"href":"https://github.com/TravelMateSSU/IOS/pull/13"},"issue":{"href":"https://api.github.com/repos/TravelMateSSU/IOS/issues/13"},"comments":{"href":"https://api.github.com/repos/TravelMateSSU/IOS/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/TravelMateSSU/IOS/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/TravelMateSSU/IOS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TravelMateSSU/IOS/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/TravelMateSSU/IOS/statuses/7809501a5935671b9a1e38ea19ddf55fd27edf26"}}}}
{"actor":{"display_login":"BangUl-Pro"}}