- meta.setCover(getImage(this, null,
- getKeyJson(json, 0, "type", "story", "cover_image", "full")));
+
+ String coverImageLink =
+ getKeyJson(json, 0, "type", "story", "cover_image", "full");
+ if (!coverImageLink.trim().isEmpty()) {
+ meta.setCover(getImage(this, null, coverImageLink.trim()));
+ }