Bestwi
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # Twitter関連WEBサービスを作るために参照したいリンク置き場(2019/6/30更新) Twitterと連携するWEBサービスを作る上で様々な情報を集める必要があるが、一度参考にさせてもらってから忘れてしまって、あとでもう一度必要になった時に探し回ることもしばしば… なので、こちらをリンクの記録置き場としていきたい。 情報技術に関する情報は何でもそうだけれど、1年どころか半年前の情報がすでに古かったりするので常に更新していく必要がある。 TwitterのAPIも1.0から1.1にバージョンアップしたのもすでに数年前。直近では開発者登録が審査制になったり、レートリミットの変更もさらに厳しくなるなどした。 実際、Twitter関連サービスも多くが2010年代初頭に登場したが、次第に閉鎖するサイトも増えてきた。アイデアが斬新で面白くても、集客できるかどうかはまた別の課題になってくる。 APIの規約変更がきっかけでサービスを閉鎖したサイトもあり、そうした仕様の変更に対して修正していったり、場合によってはサービス内容を変更していかなくてもならないのがプラットフォームに依存したサービスの難しさでもあるけれど、それは大きなプラットフォームからもらえるメリットとのトレードオフとも考えられる。 ちなみに作っているサービスはこちら。 [ ベスツイ・Twitterのツイートをランキング表示するサイト](https://www.bestwi.net/ja/) ・Developper -Twitter Developper- (Twitter公式の開発者向けサイト) https://developer.twitter.com/en.html Twitterの開発者向けの公式情報。APIの関数一覧などの情報は一次情報はこちらでチェックできる。ただ、日本語の情報はまだないっぽい? リミットレートやAPIの仕様などの情報の最新情報はこちらで更新されるので確認用にメモ。 ・abraham Twitteroauth (Twitter APIのPHP向けライブラリ) https://github.com/abraham/twitteroauth Twitter APIをPHPで使うためには面倒な認証処理などがあるのでそういうのを代行してくれる有名なライブラリ。"The most popular PHP library for use with the Twitter OAuth REST API"と銘打たれているだけあって多分一番メジャーなPHP向けライブラリなのでしょう。 ・Twitter REST APIの使い方 - Syncer (https://syncer.jp/Web/API/Twitter/REST_API/) Twitter APIに関して解説したページ。上述のtwitteroauthライブラリを使わずにTwitterAPIを呼び出す方法はこちらを参考に。 ・Twitter 開発者 ドキュメント日本語訳 (http://westplain.sakuraweb.com/translate/twitter/Documentation/REST-APIs/Public-API/REST-APIs.cgi) TwitterAPIの公式マニュアルを(多分有志の方が)日本語訳したサイト。多くの項目が訳されているので(私も含め)英語より日本語で読みたいという方は参考にしていきたいサイト。 ・Twitter の開発者登録を日本語で申請してみた (https://dev.classmethod.jp/etc/twitter-developer/) 以前は登録すれば誰でもすぐにもらえたTwitterのAPIキーだったが、2018年ごろから審査が厳しくなった。私自身も英語でメールを何通もやり取りするという厳しい試練を越えてなんとか発行してもらえた。そのあとでこのサイトを見つけたのだけれど、どうやらメールは(英語わかりませんと断り書きをすれば)日本語で書いても審査を通してもらえるっぽい。 ・Twitter関連サービスとツール - TwitterまとめWiki (http://usy.jp/twitter/index.php?Twitter関連サービスとツール) Twitter関連サービスのWiki。リンク切れのサイトも多数あるものの様々なTwitter関連サービスがあるのですでに似たようなものがないか、あるいは参考にできるサイトはないかなどを探すこともできる。サービスが完成したらここに追加するのもOK。 ・APIを利用したビジネスのリスク (https://developer.ntt.com/ja/blog/cdbf95ab-9f5e-4592-bac2-61e4968a38a9) APIを利用したビジネスの難しさや注意点について書かれている。Twitter APIを題材にAPIを利用したサービス、特に法人によるサービスの注意点について考察されている。Togetterの話題やURL短縮サービスの興廃に関する話などを絡め、いかにAPI関連のサービスを展開していくかのストラテジーはとても参考になる。 ・Twitter、API使用条件を厳格化 「厳しすぎる」開発者から悲鳴も (https://www.itmedia.co.jp/news/articles/1807/26/news079.html) 2018年7月のAPIレートリミット更新に関しての情報。ツイート投稿アプリに対する制限がさらに厳しくなり、開発者にとって衝撃的な発表となっている。今後もこうした使用条件の変更は起こりうると考えた方がいいと思う。 ・TwitterのAPI終了で多くのTwitterクライアントが死にかけている。僕が愛している「Tweetbot」もだ! (https://www.gizmodo.jp/2018/08/account-activity-api-tweetbot.html) TwitterのAPI仕様変更に伴い多くのTwitterクライアントが影響を受けてアプリの機能に支障をきたしている状況のレポート。開発者にとっては難しい時代…。 TwitterのAPIキーの申請に関する情報などはかなり変わっているし、気づかない範囲で仕様変更もあるのかもしれない。 Twitterの返すJSONデータの構造なんかも整形して取得する必要があるなどなかなか手がかかる。 リンクは必要に応じて追加していきます。

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully