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.
23 using System.Collections.Generic;
26 using System.Windows.Forms;
31 /// アプリケーション固有の情報を格納します
34 /// OpenTween の派生版を作る方法は http://sourceforge.jp/projects/opentween/wiki/HowToFork を参照して下さい。
36 internal static class ApplicationSettings
38 //=====================================================================
45 /// 派生版のアプリケーションでは名前にマルチバイト文字を含む場合があります。
46 /// ファイル名など英数字のみを含めたい用途ではこのプロパティではなく <see cref="AssemblyName"/> を使用します
48 public static string ApplicationName => Application.ProductName;
53 public static string AssemblyName => MyCommon.GetAssemblyName();
55 //=====================================================================
57 // 異常終了時などにエラーログ等とともに表示されます。
62 public const string FeedbackEmailAddress = "kim.upsilon@bucyou.net";
65 /// フィードバック送信先 (Twitter)
67 public const string FeedbackTwitterName = "@OpenTween";
70 /// FeedbackTwitterName のユーザー宛にエラーレポートの DM を送信可能であるか
73 /// エラーレポートを DM で受け付ける場合は、フォロー外からの DM を受け付ける設定にする必要があります
75 public static readonly bool AllowSendErrorReportByDM = true;
77 //=====================================================================
81 /// 「ヘルプ」メニューの「(アプリ名) ウェブサイト」クリック時に外部ブラウザで表示する URL
83 public const string WebsiteUrl = "https://www.opentween.org/";
86 /// 「ヘルプ」メニューの「ショートカットキー一覧」クリック時に外部ブラウザで表示する URL
89 /// Tween の Wiki ページのコンテンツはプロプライエタリなため転載不可
91 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";
93 //=====================================================================
97 /// 最新バージョンの情報を取得するためのURL
100 /// version.txt のフォーマットについては http://sourceforge.jp/projects/opentween/wiki/VersionTxt を参照。
101 /// 派生プロジェクトなどでこの機能を無効にする場合は null をセットして下さい。
103 public static readonly string VersionInfoUrl = "https://www.opentween.org/status/version.txt";
105 //=====================================================================
107 // https://dev.twitter.com/ から取得できます。
110 /// Twitter コンシューマーキー
112 public const string TwitterConsumerKey = "zIoJPq3FsuViPTAs89FetDHYz";
113 public const string TwitterConsumerSecret = "prTAs2fqLv12nHxlMoLQZT8AkpZt0yYb8A7ktGS2VYeRj0TddS";
115 //=====================================================================
117 // https://developer.foursquare.com/ から取得できます。
120 /// Foursquare Client Id
122 public const string FoursquareClientId = "5H3K5YQPT55DNQUFEOAJFNJA5D01ZJGO2ITEAJ3ASRIDONUB";
125 /// Foursquare Client Secret
127 public const string FoursquareClientSecret = "JFRHP1L451M3AEPF11UZLTIIUZCZTZRVHVOWB5TQ0AJOVPBB";
129 //=====================================================================
131 // https://bitly.com/a/oauth_apps から取得できます。
136 public const string BitlyClientId = "ddab8ec50f4459c315cbde9d923cf490923b6d2e";
139 /// bit.ly Client Secret
141 public const string BitlyClientSecret = "485c9d03dd264f8eeb4fc65d38e2762c4420cee7";
143 //=====================================================================
145 // http://www.tinami.com/api/ から取得できます。
150 public const string TINAMIApiKey = "4f48bb4858d36";
152 //=====================================================================
153 // Microsoft Translator API (Cognitive Service)
154 // https://www.microsoft.com/ja-jp/translator/getstarted.aspx から取得できます。
157 /// Translator Text API Subscription Key
159 public readonly static string TranslatorSubscriptionKey = "6c47d2ea341148bf856bdbfafd429db7";
161 //=====================================================================
163 // https://api.imgur.com/oauth2/addclient から取得できます
168 public readonly static string ImgurClientID = "a5fff36fb83568c";
171 /// Imgur Client Secret
173 public readonly static string ImgurClientSecret = "af5d668a9aa83b34a8f0f735e12073edafbc9a5d";
175 //=====================================================================
177 // http://www.mobypicture.com/apps/my から取得できます
180 /// Mobypicture Developer Key
182 public readonly static string MobypictureKey = "quPWTX0UrPHxqdH7";
184 //=====================================================================
186 // https://www.tumblr.com/oauth/apps から取得できます
189 /// Tumblr OAuth Consumer Key
191 public readonly static string TumblrConsumerKey = "Nsk62V6wMIqVNbiGyN0g3aDGBlgU7Fcb9GJ8Se0z2MUDHAY15l";