How to open a web page(URL) inside a unity game ?

i want this to tweet my player’s score from my game itself…i need to open twitter page inside my game…How can i do that ??/
Thank you

You can open any web page with Application.OpenURL(“some website address here”).

To post a twitter message specifically, you can try something like this:

string tweet = "Put a message to tweet here! #unity";

string URL = "" + WWW.EscapeURL(tweet);


For more functionality there are a number of assets on the asset store that will deal with posting to twitter, facebook and other social media platform. For example: Unity Asset Store - The Best Assets for Game Making