As kraftiekortie said, there are important things you can do:
Don't hold one-sided monologues. Nobody wants a lecture, either on a special interest (for people with AS/Autism) or on whatever is wrong with you and needs to be "fixed." (This is for NTs).
Be open and friendly, but don't divulge too much right away, especially your weaknesses. If people knew certain things about me, they would turn away, making me all alone once more.
Above all, listen (that's the hardest thing for me to do, especially if the conversation is superficial, or about dark pop culture and television programs).