A good rule of thumb is that if it's been more than a year since you've seen or talked to your friend, it wouldn't make a lot of sense to attend the wedding. This is especially true if you've never even met the person they're marrying, and most of the wedding guests would be people you don't know.