I want to use flickr Jsonp along with Angular 4 to be able to retrieve images.
It gives me the following errors:-
VM637 global-functions.helpers.ts!transpiled:12 Response {_body: "JSONP injected script did not invoke callback.", status: 200, ok: true, statusText: "Ok", headers: Headers…}
Please, find a plunker of the issue here:-
https://plnkr.co/edit/oySgh2weZMOJddYA44Rp?p=preview
Here is the code that seams to be causing the issue:-
this.jsonp.request(`https://api.flickr.com/services/feeds/photos_public.gne?format=json&tags=&callback=JSONP_CALLBACK`).
subscribe(images => {
},
(error) => {
console.error(error);
}