My application was in development mode. And hence photos created by it were not available to public. To fix this:
Goto App settings -> Status and Review and mark 'Yes' for the question Do you want to make this app and all its live features available to the general public?