{"action":"created","issue":{"url":"https://api.github.com/repos/abjerner/Skybrud.Social/issues/51","repository_url":"https://api.github.com/repos/abjerner/Skybrud.Social","labels_url":"https://api.github.com/repos/abjerner/Skybrud.Social/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/abjerner/Skybrud.Social/issues/51/comments","events_url":"https://api.github.com/repos/abjerner/Skybrud.Social/issues/51/events","html_url":"https://github.com/abjerner/Skybrud.Social/issues/51","id":153337548,"number":51,"title":"Instagram Missing InstagramScope Enum options","user":{"login":"inovacode","id":12768947,"avatar_url":"https://avatars.githubusercontent.com/u/12768947?v=3","gravatar_id":"","url":"https://api.github.com/users/inovacode","html_url":"https://github.com/inovacode","followers_url":"https://api.github.com/users/inovacode/followers","following_url":"https://api.github.com/users/inovacode/following{/other_user}","gists_url":"https://api.github.com/users/inovacode/gists{/gist_id}","starred_url":"https://api.github.com/users/inovacode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inovacode/subscriptions","organizations_url":"https://api.github.com/users/inovacode/orgs","repos_url":"https://api.github.com/users/inovacode/repos","events_url":"https://api.github.com/users/inovacode/events{/privacy}","received_events_url":"https://api.github.com/users/inovacode/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-05T22:10:29Z","updated_at":"2016-05-07T17:53:20Z","closed_at":"2016-05-06T22:38:24Z","body":"I need to add multiple scopes when getting the Instagram authorization url.  Two important ones I need are not in the list.  follower_list & public_content.  (See:  https://www.instagram.com/developer/authorization/)\r\n\r\nI cloned your repo here and was going to make the changes and submit a pull request but I wasn't able to find where the enum InstagramScope is defined and used.  I also need to overload the GetAuthorizationUrl() method to accept an array of Scopes.  \r\n\r\nCan you help?  :-)  I must not be looking in the right place.  Your Skybrud.Social.Core project doesn't seem to have the code specific to the different social networks.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/12768947/15058574/e52ea124-12d1-11e6-9d24-08d5dcd56519.png)"},"comment":{"url":"https://api.github.com/repos/abjerner/Skybrud.Social/issues/comments/217656065","html_url":"https://github.com/abjerner/Skybrud.Social/issues/51#issuecomment-217656065","issue_url":"https://api.github.com/repos/abjerner/Skybrud.Social/issues/51","id":217656065,"user":{"login":"abjerner","id":3634580,"avatar_url":"https://avatars.githubusercontent.com/u/3634580?v=3","gravatar_id":"","url":"https://api.github.com/users/abjerner","html_url":"https://github.com/abjerner","followers_url":"https://api.github.com/users/abjerner/followers","following_url":"https://api.github.com/users/abjerner/following{/other_user}","gists_url":"https://api.github.com/users/abjerner/gists{/gist_id}","starred_url":"https://api.github.com/users/abjerner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abjerner/subscriptions","organizations_url":"https://api.github.com/users/abjerner/orgs","repos_url":"https://api.github.com/users/abjerner/repos","events_url":"https://api.github.com/users/abjerner/events{/privacy}","received_events_url":"https://api.github.com/users/abjerner/received_events","type":"User","site_admin":false},"created_at":"2016-05-07T17:53:20Z","updated_at":"2016-05-07T17:53:20Z","body":"@inovacode I will check whether I've messed something up with the beta releases.\r\n\r\nAnyways, I hand't thought about this yesterday, but the `GetAuthorizationUrl` method really just returns the authorization URL - it doesn't make any calls to the Instagram API. So you could just generate the authorization URL manually like this:\r\n\r\n```C#\r\nstring authorizationUrl = String.Format(\r\n    \"https://api.instagram.com/oauth/authorize/?client_id={0}&redirect_uri={1}&response_type=code&state={2}&scope={3}\",\r\n    HttpUtility.UrlEncode(client.ClientId),\r\n    HttpUtility.UrlEncode(client.RedirectUri),\r\n    HttpUtility.UrlEncode(state),\r\n    HttpUtility.UrlEncode(\"public_content+follower_list\")\r\n);\r\n```\r\n\r\nThen when you need to authenticate the user, simply redirect him/her to `authorizationUrl` ;)"}}