Be The Type Of Friend You Want In Your Life
The truth is, other people can only be that great to us if they could read our minds. We're not the greatest communicators and it's easier to complain that someone didnt' give us what we needed, instead of asking if we even made those needs clear.
You know who can read your mind? YOU. so go ahead and make a copy of yourself and be that best friend/partner that you seek. You know your needs, and can honour them, you know your triggers and can work around them, and the things you don't know about yourself, you can discover through paying attention to who you are (aka sitting quietly and doing nothing).
Being that amazing person to yourself allows you to also be that amazing person to others, without the need of total reciprocity. Worst case, if you find yourself in a situation where you're giving and giving, and nothing is received, then you can be that great friend that tells yourself to walk away from that unhealthy situation. Love and friendship are actions more than feelings, so focus on how you can act upon them, and less on how they make you feel. It's no one else's job to make you feel good, but you. Don't be the martyr that puts everyone else before you then complains that no one appreciates you; put yourself first, and appreciate yourself, and love because you can, and not because you want it returned to you.