This is all TMI and poop-related, sorry in advance.

My 1 year old has been having pooping problems for months - he turns red, strains, and scream/cries. It's heartbreaking. He's pretty regular, sometimes it's pretty firm, sometimes it seems fine, but it seems to really hurt him. I got a prescription for Restoralax and I'm going to try that but I'd like it to be a short term solution. What can I do in the long term to help him? He doesn't really eat fruit or vegetables, which is a whole separate problem. For a while I was feeding him a puréed pear every day (he'll eat pouches) and it didn't really help. I've tried prune juice but I can't get him to drink enough to really help. Thoughts? Recipes? Fibre rich foods that a 1 year old will eat?