getGraphImgUrl function now successfully returns a url every time.