Well the big things is going to be how long ago were these things and how is credit now?
How long ago was your foreclosure?
Are you now current and no longer in default on your student loan(s)?
How long ago was your Chapter 13 Bankruptcy?
Are there any new blemishes on your credit since your Bankruptcy?
These are the main questions that are going to determine if you would be able to get approved for a home loan?
Feel free to reach out to me if you would like to see if we can assist you in getting into a home again.