Blackberry plants get their food through the process of photosynthesis just like every other plants. 
Photosynthesis is the conversion of light (commonly from the sun) which helps plants to make their own food. Also with the help of the 2 transport system of plants ,which are the xylem and phloem, they distribute the nutrients and energy needed by the plant.