This question already has an answer here:

I wanted to know, how to render 360 panorama equirectangular like in cycles render... to post it on Facebook and get 360 image feature, but I want to render it on internal render this time

360 Panorama Equirectangular: Example


marked as duplicate by David Aug 16 '16 at 11:15

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.