RxTube icon indicating copy to clipboard operation
RxTube copied to clipboard

not Getting the Data |

Open ameerhamza6733 opened this issue 9 years ago • 1 comments

i am not getting the data [here is my code what i doing wrong , QureySize Log not call even YouTube youTube = initYouTube(); RxTube rxTube = new RxTube(youTube, YOUTUBE_API_KEY); final String videoId = "iX-QaNzd-0Y"; rxTube.create(new RxTube.Query<YouTube.Videos.List>() { @Override public YouTube.Videos.List create(YouTube youTube) throws Exception { final YouTube.Videos.List query = youTube.videos().list("snippet"); query.setId(videoId); Log.d("QuerySize","n"+query.size()); return query; } });

private YouTube initYouTube() {

        return new YouTube.Builder(new NetHttpTransport(), new JacksonFactory(), new HttpRequestInitializer() {
            public void initialize(HttpRequest request) throws IOException {
            }
        }).setApplicationName("youtbedataapitest").build();
    }](url)

ameerhamza6733 avatar Oct 19 '16 18:10 ameerhamza6733

Did you setup the keys correctly?

Laimiux avatar Nov 06 '16 19:11 Laimiux