Facebook、TwitterのOAuthを実装しよう第四弾 前回の続きです。 今回は投稿までのプログラム解説になります。 以前作ったフレームワーク(https://github.com/oyamatsu/api_framework)で開発しています。 目標 ライブラリを使わずにTwitter OAuth認証とツイートを投稿するAPIを作る 主要技術・環境 PHP 俺式フレームワーク 名前はまだない 構造のおさらい 1. リクエストトークンを発行 2. リクエストトークンを使ってアプリ認証画面に飛ばす 3. コールバックURLでアクセストークンを取得 4. アクセストークンを使ってAPIを呼ぶ と、前回書きました。 1. リクエストトークンを発行 2. リクエストトークンを使ってアプリ認証画面に飛ばす リクエストトークン発行からリダイレクトさせるまでが1プログラムです。 3. コールバッ
フロントエンド front end バックエンド back end アプリ開発 app インフラ infra その他 other データドリブン data driven タグ一覧 Ajax(1) Android(20) Apache(2) AR(2) benchmark(1) BigQuery(2) browsersync(1) C4(1) CakePHP(1) CentOS7(1) CI(1) CMS(3) CoreNFC(1) CraftAR(1) CSS(1) DeepLab(2) Dmitry Stogov(1) ECMAScript(1) ECMAScript6(1) ElePHPant(1) Facebook(3) FFmpeg(1) firebase(1) fluentd(1) Framework(1) GD(2) gif(2) Git(1) GLSL(5) Google A
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く