追記:自分がつぶやければいいだけなら、Twitter4Jでつぶやく練習で紹介している方法が簡単です。 API Version 1.1に対応しました。 辻村浩『 Twitter API プログラミング』(ワークスコーポレーション, 2010)を読みました。形式について言うと、ソースコードが頻繁に折り返していて読みにくい(というかほとんど読めない)のがちょっと残念でした。内容について言うと、OAuth認証を利用する方法をもう少し具体的に書いた方がいいんじゃないかと思いました。OAuth認証は最初の関門なので、すべてのメジャーなプログラミング言語について、具体的な実装を載せておいてくれるととても便利だったはずです。 というわけで、OAuth認証を利用するクライアントの作り方を書いておきましょう。 まず、http://dev.twitter.com/appsでアプリケーションを登録し、Concum
GT Nitro: Car Game Drag Raceは、典型的なカーゲームではありません。これはスピード、パワー、スキル全開のカーレースゲームです。ブレーキは忘れて、これはドラッグレース、ベイビー!古典的なクラシックから未来的なビーストまで、最もクールで速い車とカーレースできます。スティックシフトをマスターし、ニトロを賢く使って競争を打ち破る必要があります。このカーレースゲームはそのリアルな物理学と素晴らしいグラフィックスであなたの心を爆発させます。これまでプレイしたことのないようなものです。 GT Nitroは、リフレックスとタイミングを試すカーレースゲームです。正しい瞬間にギアをシフトし、ガスを思い切り踏む必要があります。また、大物たちと競いつつ、車のチューニングとアップグレードも行わなければなりません。世界中で最高のドライバーと車とカーレースに挑むことになり、ドラッグレースの王冠
Sign in with your Twitter account | Twitter Developers にて予め consumer key と consumer secret を取得していることを前提とする. 参考にしたのは,以下のサイト: Twitter4J - コード例 Twitter Javaメモ(Hishidama's Twitter Java Memo) といいますか,正直に申し上げると後者のサイトのパクリです. Twitter4J 2.2.2 を利用した場合,consumer key 等の与え方が上記ページと異なっていたので,備忘録として書いておきます. import java.io.*; import twitter4j.Twitter; import twitter4j.TwitterFactory; import twitter4j.TwitterException
“TwitterでOAuth認証を行う(2:Twitterの認証ページをブラウザで開く)“ではTwitterの認証ページを表示する所までを 実装しました。 今回はTwitterの認証ページから発行されるIntentから、Access TokenとAccess Token Secretを取得する方法を 紹介します。 Access TokenとAccess Token Secretを使用することで、Twitterの認証ページを経由することなく、アカウントを 使用することができます。 詳細は以下から。 まずはサンプルコードからです。 このサンプルコードは新規に作成するのではなく、”TwitterでOAuth認証を行う(2:Twitterの認証ページをブラウザで開く)“で 作成したCallBackActivity.javaを編集していきます。 CallBackActivity.java publi
umjammer です、 今月末で Twitter API は BASIC 認証を廃止して OAuth オンリーに移行するみたいですね。以前ソーシャルアプリ関連で OAuth を調べていたときに Twitter も試していたのでその時の成果物を公開します。ずいぶん前のことなので忘れていました。危うく旬を逃すところでした。 では、順を追って OAuth を使用した Twitter デスクトップクライアントの作り方を説明します。 Twitter クライアント用のコンシューマーキー、シークレットの取得 この URL で Twitter クライアントアプリ申請を行う 今回はデスクトップアプリなのでブラウザではない方のチェックボックスをチェックしておく 設定を保存すると画面が変わり、コンシューマーキー、シークレットを取得できる 同時にアクセストークンリクエストや認可画面URLも取得 アクセストー
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く