{"action":"opened","issue":{"url":"https://api.github.com/repos/youtube/api-samples/issues/80","repository_url":"https://api.github.com/repos/youtube/api-samples","labels_url":"https://api.github.com/repos/youtube/api-samples/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/youtube/api-samples/issues/80/comments","events_url":"https://api.github.com/repos/youtube/api-samples/issues/80/events","html_url":"https://github.com/youtube/api-samples/issues/80","id":168522114,"number":80,"title":"using java to get list of  Subscriptions of my account ","user":{"login":"hacker-boy","id":7106369,"avatar_url":"https://avatars.githubusercontent.com/u/7106369?v=3","gravatar_id":"","url":"https://api.github.com/users/hacker-boy","html_url":"https://github.com/hacker-boy","followers_url":"https://api.github.com/users/hacker-boy/followers","following_url":"https://api.github.com/users/hacker-boy/following{/other_user}","gists_url":"https://api.github.com/users/hacker-boy/gists{/gist_id}","starred_url":"https://api.github.com/users/hacker-boy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hacker-boy/subscriptions","organizations_url":"https://api.github.com/users/hacker-boy/orgs","repos_url":"https://api.github.com/users/hacker-boy/repos","events_url":"https://api.github.com/users/hacker-boy/events{/privacy}","received_events_url":"https://api.github.com/users/hacker-boy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-31T15:07:15Z","updated_at":"2016-07-31T15:07:15Z","closed_at":null,"body":"hi all ,\r\nsom i'm new to youtube api i'm trying to make  a project wher i want to get all  Subscriptions of my channel or my account in java , so i first tried the simples like addsubscription and it worked just fine alse i learnd that ther is 2 other methodes delete and list , i think i need the list function so when i tried to use it i get errors like : this \r\n---------------------------------------------------------\r\njuil. 31, 2016 3:59:21 PM com.google.api.client.util.store.FileDataStoreFactory setPermissionsToOwnerOnly\r\nAVERTISSEMENT: unable to change permissions for everybody: C:\\Users\\Baraka Ahmed\\.oauth-credentials\r\njuil. 31, 2016 3:59:21 PM com.google.api.client.util.store.FileDataStoreFactory setPermissionsToOwnerOnly\r\nAVERTISSEMENT: unable to change permissions for owner: C:\\Users\\Baraka Ahmed\\.oauth-credentials\r\nYou chose UCbEJ7XPE8egXNCO2iTDqr7Q to subscribe.\r\nnull\r\nnull\r\n{channelId=UCbEJ7XPE8egXNCO2iTDqr7Q, kind=youtube#channel, mine=true}\r\nGoogleJsonResponseException code: 400 : No filter selected. Expected one of: myRecentSubscribers, channelId, mine, id, mySubscribers\r\ncom.google.api.client.googleapis.json.GoogleJsonResponseException: 400 Bad Request\r\n{\r\n  \"code\" : 400,\r\n  \"errors\" : [ {\r\n    \"domain\" : \"youtube.parameter\",\r\n    \"location\" : \"\",\r\n    \"locationType\" : \"parameter\",\r\n    \"message\" : \"No filter selected. Expected one of: myRecentSubscribers, channelId, mine, id, mySubscribers\",\r\n    \"reason\" : \"missingRequiredParameter\"\r\n  } ],\r\n  \"message\" : \"No filter selected. Expected one of: myRecentSubscribers, channelId, mine, id, mySubscribers\"\r\n}\r\n--------------------------------------------------------\r\n\r\nthis what i have added to my programme wher is the problem and plz help me i need some documentation or some thing to get started : \r\n-----------------------------------the code added----------------------------------\r\n        YouTube.Subscriptions.List gt=youtube.subscriptions().list(\"id\");\r\n          SubscriptionListResponse get=gt.execute();\r\n-------------------------------------------------------------------------------------"}}
{"actor":{"display_login":"hacker-boy"}}