At Steer, we teach an awesome front-end development course where we teach things like HTML, CSS and Javascript. One thing our students ask about a lot is using Twitter on their sites but recently Twitter changed their API to only accepting authenticated requests. For beginners, it's really hard to implement so we've made a simple way. Methods Get a user's information http://twitcher.steer.me/user/
概要 「埋め込みタイムライン」は簡単にTwitterのタイムラインを自分のサイトに表示できるツールです。タイムラインはリアルタイムで更新され、タイムライン上から直接、返信、リツイート、お気に入りに登録することができます。twitter.comのウィジェット設定から簡単に作成可能です。 埋め込みタイムラインのタイプ ユーザー、お気に入り、リスト、検索結果、ハッシュタグのタイムラインを埋め込むことができます。 ユーザータイムライン 公開されているものであれば、どのユーザーのタイムラインでも埋め込むことができます。下記はこのページに埋め込みされた@twj_devのタイムラインです。ユーザタイムラインの上部にはフォローボタンがあり、閲覧中のサイトから離れることなく1クリックでフォローできます。 @twj_dev からのツイート お気に入りタイムライン ユーザーのタイムラインと同様に、公開されている
今日は、サイトにツイート一覧を貼り付けている人向けのお知らせです。というのも、Twitterが提供しているツイート一覧をサイトに掲載する仕組みが3月には使えなくなってしまうのです。 Twitterは、標準のサイト貼り付け用ツイート一覧ボックス(「Join the conversation」と表示されるやつ、ウィジェット)の提供を近いうちに終了することを発表しました(代替手段については後述)。 「 "Join the conversation” ウィジェット」提供終了のお知らせ(Twitterブログ) Twitterの新しいAPI(プログラムによるツイートデータ取得の仕組み)への移行によるものです。この「Join the conversation」ウィジェットは古いAPIを使っているため、新APIへの切り替えにともなって使えなくなるのです。 正式な提供終了時期は確定していませんが、完全に終了
WordPress のコメントに Twitter、はてなブックマーク、Delicious での言及を混ぜ込むプラグイン Feedback Champru を作成しました。 作成の経緯とインストール方法は、おでこんがまとめてくれたので、そちらをご参照ください。 WordPress のコメントに Twitter やはてブのフィードバックを追加する Feedback Champuru を入れてみた | Odysseygate.com 基本的にダウンロードしてきたファイルを wp-content/plugins/ に放り込んで、有効にすれば使えるようになります。 ただし、内部で json_decode() 関数を使用しているので、PHP 5 以降が必須となります。 各コメントには、それぞれ tweet, hatena, delisious というクラスが付与されるので、style.css を修正し
cocoism.xml<?xml version="1.0" encoding="UTF-8"?> <user> <id>7948862</id> <name>つんつ</name> <screen_name>cocoism</screen_name> <location>カワタマ or オモサン</location> <description>青山でWeb系のお仕事してます。デザイナーズレストランははるか昔に卒業済。芋焼酎と焼鳥が大好きで居心地のいい呑み屋でおやじ談義するのがライフワーク。最近は日本酒をお勉強中。家では大人しく猛犬チワワのママしてます。iPhone4/Xperia所有。</description> <profile_image_url>http://a0.twimg.com/profile_images/1202496271/usa_normal.png</profile_
Jump to Accounts (11) Block (5) Deprecated (23) Direct Messages (5) Favorites (3) Friends & Followers (11) Help (3) Legal (2) Lists (17) Local Trends (2) Notification (3) OAuth (4) Places & Geo (6) Saved Searches (4) Search (2) Spam Reporting (1) Streaming (1) Suggested Users (3) Timelines (11) Trends (2) Tweets (9) Users (6) Access the profile image in various sizes for the user with the indicate
<g> <g> <defs> <rect id="SVGID_1_" x="-468" y="-1360" width="1440" height="3027" /> </defs> <clippath id="SVGID_2_"> <use xlink:href="#SVGID_1_" style="overflow:visible;" /> </clippath> </g> </g> <rect x="-468" y="-1360" class="st0" width="1440" height="3027" style="fill:rgb(0,0,0,0);stroke-width:3;stroke:rgb(0,0,0)" /> <path d="M13.4,12l5.8-5.8c0.4-0.4,0.4-1,0-1.4c-0.4-0.4-1-0.4-1.4,0L12,10.6L6.2
こんにちは。開発担当の林です。 今回はタイトル通りPHP(5.2以上)で、とあるページの、はてブコメントと、ツイート、Facebook いいね!数を簡単に取得するためのテンプレ用ソースコードです。 最低限のコードですが、比較的よく使われるものなのかなと思ってまとめました。 何かのお役に立てれば幸いです。 ※ 本記事は、各サービスの公式 API を使っています。 はてなブックマークエントリー情報取得API Twitter API (日本語参考:Twitter API – TwitterまとめWiki ) Facebook Query Language (`・ω・´) はてブコメントと関連エントリーの取得 <?php // とあるページのアドレス(任意のアドレスをどうぞ) $sample_url = 'http://www.fenrir.co.jp/'; // はてブの情報取得 $hatena
OAuth 2.0で Webサービスの利用方法はどう変わるか ソーシャルAPI活用に必須の“OAuth”の基礎知識 株式会社ビーコンIT 木村篤彦 2011/2/2 TwitterがOAuth 1.0を採用したのを皮切りに、今では多くのサービスがOAuth 1.0に対応しています。国内でも、例えば、マイクロブログ型コラボツール「youRoom」、小規模グループ向けグループウェア「サイボウズLive」、「はてな」のいくつかのサービス、「Yahoo!オークション」、リアルタイムドローツール「Cacoo」などがOAuth 1.0に対応したAPIを公開しています。 ここ数年でOAuthはさまざまなWebサービスのリソースを利用する際の認証方式として普及してきました。これは大きなプレーヤーがサポートしたことも一因ですが、OAuthの持つ以下の2つの特徴によって、「OAuthを使うと、サービスプロバイ
みなさんこんにちは。ふむふむソフトの飯島です。 前回の記事では、Twitter APIを利用するための手続きと、GAE(Google App Engine) SDKを使ってローカルの開発環境でWebサービスを動かす方法を説明しました。今回はいよいよ、サンプルコードの中身について解説したいと思います。 Twitter APIを使うと、たとえばこうなります!(その3) コードの解説に入る前に、今回も1つ、当社がTwitter APIで作ったサンプルをお見せしましょう。本連載のサンプルコードのカスタマイズ例として、第1回では「ついまん。創刊準備号」、第2回では「Lispeln α(リスペルン アルファ版)」を紹介しましたが、今回はちょっと毛色を変えてTwitter ボット(bot)を紹介します。 1年間かけてひっそりと1万ダウンロードを突破した、当社開発の人気Windows ガジェット「はとぽっ
みなさんこんにちは。ふむふむソフトの飯島です。 全5回の予定で進めてきた本連載も、今回でいよいよ最終回となりました。第1回~第4回ではTwitter APIとGAEを使ったWeb開発の大まかな流れと、サンプルコードによるWebサービスの開発方法について解説しました。今回はより本格的なWeb開発をするとき、知っておくと便利なツールやTipsを紹介します。 Twitter APIを使って、今までこんなものを作りました! 本連載ではTwitter APIとGAEを使ったサンプルとして、4種類のWebサービスを作りました。これまでに作ったサンプルを振り返ってみましょう。 ■第1回 サンプル 「ついまん。創刊準備号」
最近発表されて、一部で話題を呼んでいるTwitterの新しいStreaming API「ChirpUserStreams」。 まだdeveloperへのpreviewリリースということでプロダクトに使うようなことはできないけど。 http://apiwiki.twitter.com/ChirpUserStreams 今までのStreaming APIでは基本的に public timelineから、指定したキーワードを含む発言を拾う 指定したユーザーの発言を拾う というものだった(はず)。検索系としては便利だけど、home_timelineのように自分がフォローしているユーザーの発言をStreamingで得ようとすると全idを繋げたものをリクエストパラメータとして送らないといけなかったりで、あまりカッコよくない形になってしまっていた。 ところが今回使えるようになった「ChirpUserSt
先日行われた Twitter の開発者向けイベント「Chirp」にて、 @Anywhere という新 API が公開されました。自分のサイトに、 JavaScript のみでユーザー情報の表示やつぶやきの投稿、ユーザー認証などの機能を実装できる、とても興味深い API です。 この @Anywhere は使い方も非常に手軽で、こちらのページでサイトを登録すれば、あとは「Getting Started with @Anywhere」にある JavaScript をページに挿入するだけで利用できます。しかし、当然ですが説明は英語ですので、日本人には少しとっつきづらい面もあります。こんな有用な API が日本で普及しないのは大きな損失、ということで前述のページを日本語に翻訳してみました。 勢いで翻訳したので表現はかなり適当ですが、まあ無いよりはましかと思います(笑)。 @Anywhere を利用
みなさんこんにちは。ふむふむソフトの飯島です。 さっそくですが、みなさんはTwitter APIを使ってプログラミングしていますか? すでに星の数ほどTwitterアプリやWebサービスはありますし、バリバリ使っている方も多いと思いますが、「知っているけれど、なかなか触るチャンスがなくて……」という方もたくさんいるのではないでしょうか? そこで今回から5回にわたって、Twitter APIを使ったWebサービスのプログラミングについて解説したいと思います。ただAPIの使い方を解説するだけでは面白くないですから、Webサービスを公開するサーバーとしてグーグルのクラウドサービス「Google App Engine(以下GAE)」を使い、自分でサーバーを用意することなく全部無料で遊んでみましょう。 本連載では、サンプルコードのダウンロードはもちろん、Twitter APIの準備からGAEの準備、
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く