If your friends can’t invite you or see you are online in GTA V but you can see and join them:
Press home when you’re playing GTA V, press the little gear button and click settings. Go to game settings and for presence visibility and click everyone. If it is set to Friends it means that NOBODY can see you! Set it to Everyone! It is probably a bug because setting it to Friends has the same effect as setting it to Me Only!