1 // OpenTween - Client of Twitter
2 // Copyright (c) 2012 kim_upsilon (@kim_upsilon) <https://upsilo.net/~upsilon/>
3 // All rights reserved.
5 // This file is part of OpenTween.
7 // This program is free software; you can redistribute it and/or modify it
8 // under the terms of the GNU General public License as published by the Free
9 // Software Foundation; either version 3 of the License, or (at your option)
12 // This program is distributed in the hope that it will be useful, but
13 // WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General public License
17 // You should have received a copy of the GNU General public License along
18 // with this program. If not, see <http://www.gnu.org/licenses/>, or write to
19 // the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
20 // Boston, MA 02110-1301, USA.
25 using System.Collections.Generic;
28 using System.Windows.Forms;
33 /// アプリケーション固有の情報を格納します
36 /// OpenTween の派生版を作る方法は http://sourceforge.jp/projects/opentween/wiki/HowToFork を参照して下さい。
38 internal static class ApplicationSettings
40 //=====================================================================
47 /// 派生版のアプリケーションでは名前にマルチバイト文字を含む場合があります。
48 /// ファイル名など英数字のみを含めたい用途ではこのプロパティではなく <see cref="AssemblyName"/> を使用します
50 public static string ApplicationName => Application.ProductName;
55 public static string AssemblyName => MyCommon.GetAssemblyName();
57 //=====================================================================
59 // 異常終了時などにエラーログ等とともに表示されます。
64 public const string FeedbackEmailAddress = "kim.upsilon@bucyou.net";
67 /// フィードバック送信先 (Twitter)
69 public const string FeedbackTwitterName = "@OpenTween";
72 /// FeedbackTwitterName のユーザー宛にエラーレポートの DM を送信可能であるか
75 /// エラーレポートを DM で受け付ける場合は、フォロー外からの DM を受け付ける設定にする必要があります
77 public static readonly bool AllowSendErrorReportByDM = true;
79 //=====================================================================
83 /// 「ヘルプ」メニューの「(アプリ名) ウェブサイト」クリック時に外部ブラウザで表示する URL
85 public const string WebsiteUrl = "https://www.opentween.org/";
88 /// 「ヘルプ」メニューの「ショートカットキー一覧」クリック時に外部ブラウザで表示する URL
91 /// Tween の Wiki ページのコンテンツはプロプライエタリなため転載不可
93 public const string ShortcutKeyUrl = "https://ja.osdn.net/projects/tween/wiki/%E3%82%B7%E3%83%A7%E3%83%BC%E3%83%88%E3%82%AB%E3%83%83%E3%83%88%E3%82%AD%E3%83%BC";
95 //=====================================================================
99 /// 最新バージョンの情報を取得するためのURL
102 /// version.txt のフォーマットについては http://sourceforge.jp/projects/opentween/wiki/VersionTxt を参照。
103 /// 派生プロジェクトなどでこの機能を無効にする場合は null をセットして下さい。
105 public static readonly string VersionInfoUrl = "https://www.opentween.org/status/version.txt";
107 //=====================================================================
109 // https://dev.twitter.com/ から取得できます。
112 /// Twitter コンシューマーキー
114 public const string TwitterConsumerKey = "zIoJPq3FsuViPTAs89FetDHYz";
115 public const string TwitterConsumerSecret = "prTAs2fqLv12nHxlMoLQZT8AkpZt0yYb8A7ktGS2VYeRj0TddS";
117 //=====================================================================
119 // https://developer.foursquare.com/ から取得できます。
122 /// Foursquare Client Id
124 public const string FoursquareClientId = "5H3K5YQPT55DNQUFEOAJFNJA5D01ZJGO2ITEAJ3ASRIDONUB";
127 /// Foursquare Client Secret
129 public const string FoursquareClientSecret = "JFRHP1L451M3AEPF11UZLTIIUZCZTZRVHVOWB5TQ0AJOVPBB";
131 //=====================================================================
133 // https://bitly.com/a/oauth_apps から取得できます。
138 public const string BitlyClientId = "ddab8ec50f4459c315cbde9d923cf490923b6d2e";
141 /// bit.ly Client Secret
143 public const string BitlyClientSecret = "485c9d03dd264f8eeb4fc65d38e2762c4420cee7";
145 //=====================================================================
147 // http://www.tinami.com/api/ から取得できます。
152 public const string TINAMIApiKey = "4f48bb4858d36";
154 //=====================================================================
155 // Microsoft Translator API (Cognitive Service)
156 // https://www.microsoft.com/ja-jp/translator/getstarted.aspx から取得できます。
159 /// Translator Text API Subscription Key
161 public readonly static string TranslatorSubscriptionKey = "6c47d2ea341148bf856bdbfafd429db7";
163 //=====================================================================
165 // https://api.imgur.com/oauth2/addclient から取得できます
170 public readonly static string ImgurClientID = "a5fff36fb83568c";
173 /// Imgur Client Secret
175 public readonly static string ImgurClientSecret = "af5d668a9aa83b34a8f0f735e12073edafbc9a5d";
177 //=====================================================================
179 // http://www.mobypicture.com/apps/my から取得できます
182 /// Mobypicture Developer Key
184 public readonly static string MobypictureKey = "quPWTX0UrPHxqdH7";
186 //=====================================================================
188 // https://www.tumblr.com/oauth/apps から取得できます
191 /// Tumblr OAuth Consumer Key
193 public readonly static string TumblrConsumerKey = "Nsk62V6wMIqVNbiGyN0g3aDGBlgU7Fcb9GJ8Se0z2MUDHAY15l";