0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

UnityでTwitter投稿画面を開く

Posted at

"twitter://post?message=" の後にテキストを入れる
テキストやURLに全角文字が含まれている場合は、stringの文字列をUriにエンコードする必要がある

string url01 = "twitter://post?message=令和";
Uri url02 = new Uri(url01);
Application.OpenURL(url02.AbsoluteUri);

↓URLのテキストに入れるハッシュタグや改行の書き方
https://qiita.com/ampersand/items/2ec01bd5c5b64f1e67bf

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?