Set 360 Photo to VR

How can i set my 360 photo to my oculus or gear vr

Should i use cubemaps or something else?

Any tutorial or help for this ?

+up to top

You may search Online for some panoramic softwares… Check for example

I want to do same thing with ue4, is it possible?