What is the difference of openInvite and openShare in Facebook plugin?

I want to create an invite button to invite friends in my instant game. It works but it doesn’t show the dialog includes messenger groups or people. It just shows a dialog like openShare. The text I pass to 2 functions don’t show as I expected. Do I do anything wrong? If I am wrong, what function I can call to open the invite dialog?

I have the same issue, can anyone please help.
Thank you.