Create fb video and reel downloader project with sketch sare
Add request component with POST method not GET method.
Just like this
Paste below url on POST method
https://ssyoutube.com/api/convert?url= and add edit text at end of url=
and on Request response add below java code.
try{
JSONObject o1 = new JSONObject(_response);
id = o1.getString("id");
title = o1.getJSONObject("meta").getString("title");
sources o1.getJSONObject("meta").getString("source");
duration = o1.getJSONObject("meta").getString("duration");
thumb = o1.getString("thumb");
hd = o1.getJSONObject("hd").getString("url");
sd = o1.getJSONObject("sd").getString("url");
video.setText("video ".concat(id));
dur.setText("Duration ".concat(duration));
source.setText("Source ".concat(sources));
Glide.with(getApplicationContext()).load(Uri.parse(thumb)).into(imageview1);
}catch(Exception e){
}
done
Project tutorial video https://youtu.be/Lfm1wLLvlgQ
Subscribe channel sketchlife
0 Comments