{"action":"opened","number":68,"pull_request":{"url":"https://api.github.com/repos/vstirbu/InstagramPlugin/pulls/68","id":81274649,"html_url":"https://github.com/vstirbu/InstagramPlugin/pull/68","diff_url":"https://github.com/vstirbu/InstagramPlugin/pull/68.diff","patch_url":"https://github.com/vstirbu/InstagramPlugin/pull/68.patch","issue_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/issues/68","number":68,"state":"open","locked":false,"title":"tweak callbacks","user":{"login":"ihadeed","id":13794420,"avatar_url":"https://avatars.githubusercontent.com/u/13794420?v=3","gravatar_id":"","url":"https://api.github.com/users/ihadeed","html_url":"https://github.com/ihadeed","followers_url":"https://api.github.com/users/ihadeed/followers","following_url":"https://api.github.com/users/ihadeed/following{/other_user}","gists_url":"https://api.github.com/users/ihadeed/gists{/gist_id}","starred_url":"https://api.github.com/users/ihadeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ihadeed/subscriptions","organizations_url":"https://api.github.com/users/ihadeed/orgs","repos_url":"https://api.github.com/users/ihadeed/repos","events_url":"https://api.github.com/users/ihadeed/events{/privacy}","received_events_url":"https://api.github.com/users/ihadeed/received_events","type":"User","site_admin":false},"body":"Hey there\r\n\r\nI thought this plugin needs a few changes so it's more like other Cordova plugins out there. Also to make it easier to wrap it in `ionic-native` library. (See https://github.com/driftyco/ionic-native)\r\n\r\nThe usage after these edits would be like:\r\n\r\n```\r\n// successCallback gets invoked without value\r\n// errorCallback gets invoked with error value\r\nshareDataUrl(dataUrl, caption, successCallback, errorCallback);\r\n```\r\n\r\n```\r\n// callback gets invoked with values: (isInstalled: boolean, version: string)\r\nisInstalled(callback)\r\n```","created_at":"2016-08-15T06:26:02Z","updated_at":"2016-08-15T06:26:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/pulls/68/commits","review_comments_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/pulls/68/comments","review_comment_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/issues/68/comments","statuses_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/statuses/1681216ba77b4d07a976424114256456e14589dc","head":{"label":"ihadeed:ihadeed-patch-1","ref":"ihadeed-patch-1","sha":"1681216ba77b4d07a976424114256456e14589dc","user":{"login":"ihadeed","id":13794420,"avatar_url":"https://avatars.githubusercontent.com/u/13794420?v=3","gravatar_id":"","url":"https://api.github.com/users/ihadeed","html_url":"https://github.com/ihadeed","followers_url":"https://api.github.com/users/ihadeed/followers","following_url":"https://api.github.com/users/ihadeed/following{/other_user}","gists_url":"https://api.github.com/users/ihadeed/gists{/gist_id}","starred_url":"https://api.github.com/users/ihadeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ihadeed/subscriptions","organizations_url":"https://api.github.com/users/ihadeed/orgs","repos_url":"https://api.github.com/users/ihadeed/repos","events_url":"https://api.github.com/users/ihadeed/events{/privacy}","received_events_url":"https://api.github.com/users/ihadeed/received_events","type":"User","site_admin":false},"repo":{"id":65709171,"name":"InstagramPlugin","full_name":"ihadeed/InstagramPlugin","owner":{"login":"ihadeed","id":13794420,"avatar_url":"https://avatars.githubusercontent.com/u/13794420?v=3","gravatar_id":"","url":"https://api.github.com/users/ihadeed","html_url":"https://github.com/ihadeed","followers_url":"https://api.github.com/users/ihadeed/followers","following_url":"https://api.github.com/users/ihadeed/following{/other_user}","gists_url":"https://api.github.com/users/ihadeed/gists{/gist_id}","starred_url":"https://api.github.com/users/ihadeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ihadeed/subscriptions","organizations_url":"https://api.github.com/users/ihadeed/orgs","repos_url":"https://api.github.com/users/ihadeed/repos","events_url":"https://api.github.com/users/ihadeed/events{/privacy}","received_events_url":"https://api.github.com/users/ihadeed/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ihadeed/InstagramPlugin","description":"Instagram plugin for PhoneGap/Cordova","fork":true,"url":"https://api.github.com/repos/ihadeed/InstagramPlugin","forks_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/forks","keys_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/teams","hooks_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/hooks","issue_events_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/issues/events{/number}","events_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/events","assignees_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/assignees{/user}","branches_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/branches{/branch}","tags_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/tags","blobs_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/statuses/{sha}","languages_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/languages","stargazers_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/stargazers","contributors_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/contributors","subscribers_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/subscribers","subscription_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/subscription","commits_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/contents/{+path}","compare_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/merges","archive_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/downloads","issues_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/issues{/number}","pulls_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/pulls{/number}","milestones_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/milestones{/number}","notifications_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/labels{/name}","releases_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/releases{/id}","deployments_url":"https://api.github.com/repos/ihadeed/InstagramPlugin/deployments","created_at":"2016-08-15T06:16:44Z","updated_at":"2016-08-15T06:16:45Z","pushed_at":"2016-08-15T06:25:16Z","git_url":"git://github.com/ihadeed/InstagramPlugin.git","ssh_url":"git@github.com:ihadeed/InstagramPlugin.git","clone_url":"https://github.com/ihadeed/InstagramPlugin.git","svn_url":"https://github.com/ihadeed/InstagramPlugin","homepage":"","size":76,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vstirbu:master","ref":"master","sha":"d6f6dc8683da276ed72c38f744f1baf80e610211","user":{"login":"vstirbu","id":1288047,"avatar_url":"https://avatars.githubusercontent.com/u/1288047?v=3","gravatar_id":"","url":"https://api.github.com/users/vstirbu","html_url":"https://github.com/vstirbu","followers_url":"https://api.github.com/users/vstirbu/followers","following_url":"https://api.github.com/users/vstirbu/following{/other_user}","gists_url":"https://api.github.com/users/vstirbu/gists{/gist_id}","starred_url":"https://api.github.com/users/vstirbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vstirbu/subscriptions","organizations_url":"https://api.github.com/users/vstirbu/orgs","repos_url":"https://api.github.com/users/vstirbu/repos","events_url":"https://api.github.com/users/vstirbu/events{/privacy}","received_events_url":"https://api.github.com/users/vstirbu/received_events","type":"User","site_admin":false},"repo":{"id":7782928,"name":"InstagramPlugin","full_name":"vstirbu/InstagramPlugin","owner":{"login":"vstirbu","id":1288047,"avatar_url":"https://avatars.githubusercontent.com/u/1288047?v=3","gravatar_id":"","url":"https://api.github.com/users/vstirbu","html_url":"https://github.com/vstirbu","followers_url":"https://api.github.com/users/vstirbu/followers","following_url":"https://api.github.com/users/vstirbu/following{/other_user}","gists_url":"https://api.github.com/users/vstirbu/gists{/gist_id}","starred_url":"https://api.github.com/users/vstirbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vstirbu/subscriptions","organizations_url":"https://api.github.com/users/vstirbu/orgs","repos_url":"https://api.github.com/users/vstirbu/repos","events_url":"https://api.github.com/users/vstirbu/events{/privacy}","received_events_url":"https://api.github.com/users/vstirbu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vstirbu/InstagramPlugin","description":"Instagram plugin for PhoneGap/Cordova","fork":false,"url":"https://api.github.com/repos/vstirbu/InstagramPlugin","forks_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/forks","keys_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/teams","hooks_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/hooks","issue_events_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/issues/events{/number}","events_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/events","assignees_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/assignees{/user}","branches_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/branches{/branch}","tags_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/tags","blobs_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/statuses/{sha}","languages_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/languages","stargazers_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/stargazers","contributors_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/contributors","subscribers_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/subscribers","subscription_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/subscription","commits_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/contents/{+path}","compare_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/merges","archive_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/downloads","issues_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/issues{/number}","pulls_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/pulls{/number}","milestones_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/milestones{/number}","notifications_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/labels{/name}","releases_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/releases{/id}","deployments_url":"https://api.github.com/repos/vstirbu/InstagramPlugin/deployments","created_at":"2013-01-23T20:18:44Z","updated_at":"2016-08-09T02:53:14Z","pushed_at":"2016-08-15T06:26:02Z","git_url":"git://github.com/vstirbu/InstagramPlugin.git","ssh_url":"git@github.com:vstirbu/InstagramPlugin.git","clone_url":"https://github.com/vstirbu/InstagramPlugin.git","svn_url":"https://github.com/vstirbu/InstagramPlugin","homepage":"","size":76,"stargazers_count":88,"watchers_count":88,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":8,"forks":39,"open_issues":8,"watchers":88,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vstirbu/InstagramPlugin/pulls/68"},"html":{"href":"https://github.com/vstirbu/InstagramPlugin/pull/68"},"issue":{"href":"https://api.github.com/repos/vstirbu/InstagramPlugin/issues/68"},"comments":{"href":"https://api.github.com/repos/vstirbu/InstagramPlugin/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/vstirbu/InstagramPlugin/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/vstirbu/InstagramPlugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vstirbu/InstagramPlugin/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/vstirbu/InstagramPlugin/statuses/1681216ba77b4d07a976424114256456e14589dc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":5,"changed_files":1}}
{"actor":{"display_login":"ihadeed"}}