how to get a Facebook mobile app to upload pictures and text to a Facebook web app
===

I have searched on here and spent many hours on the web viewing samples etc but cannot find my answer.
I would like two things, firstly the mobile app to have the ability to upload images and text to the web app, and secondly the web app to store and display the received info and have it visible on the mobile app too.
I have found info on uploading images to a timeline etc from a mobile app but not to a web app. I have found info on seeing the info on the web app but not how to store the data sent.
I have been looking for a sample similar to what I need but been coming up with conflicting info due to the continuous changes in the fb graph.
What I'm really after is some idea of the best way to do this, bearing in mind that I am cool with php and mysql css html etc.
I envisage a db to store the data sent and then use php to display what I want, both on the fb app and the mobile app.
Can I do this with heroku? If so how?
Can anyone offer any advice on how best to proceed please? 
Cheers in anticipation.