先日からLINE BOTで遊んでいたところ、今朝のfacebookのDeveloper Conferenceのf8でMessenger Platformが公開されたので、合わせてGoのライブラリを作ってみました。 github.com いつものechobotはこんな感じです。 Callback URLはhttps必須ですので、herokuなどで動かすのがお手軽でしょう。LINE BOT APIとは異なりIPアドレスのホワイトリスト設定は不要なので、Fixieアドオンなどなしで普通にheroku上で動かすことができます。FB_TOKENとVerify用のFB_VERIFY_TOKENは環境変数として設定します。 また、最初にcallbackのverifyが必要ですので、その処理が入ってます。この処理はVerifyが終われば消しても問題ありません。もちろんCallback URLを変更する際は
Content uploaded to Facebook is stored on their CDN, which is served via various domains (most of which are sub-domains of either akamaihd.net or fbcdn.net). The captioning feature of Videos also stores the .srt files on the CDN, and I noticed that right-angle brackets were un-encoded. https://fbcdn-dragon-a.akamaihd.net/hphotos-ak-xaf1/….srt I was trying to think of ways to get the file interpret
Why Facebook Hackers are a real threat and how to protect yourself Facebook is so popular that there are millions of people who have accounts. Hackers can look at your profile information and then decide if you are hack worthy. They may find out about your family background or something. They can then feed this information into a search engine and see if they can come up with anything. From there,
I come to Facebook to share all kinds of things with people I care about — from celebratory posts about practicing yoga for 60 days straight, to mourning the loss of a parent. Those same people who connect with me on my stories also have their own stories to share. Sometimes we just want a simple way to say we really love what they shared, or to express empathy when life takes a turn. In 2009, Fac
This blog has moved! This post and other mistakes are now at https://mango.pdf.zone Look I’m not really sure why but I think I made a thing that makes graphs of when people are online on Facebook. It sounds kinda creepy and uh it is. Read along so you, too, can be the NSA. ˙ ͜ʟ˙ You know those green dots on the sidebar on Facebook that tell you who’s online? How do they get there? Also there are
By Julian Gutman, Product Manager Notifications are becoming one of the primary ways people first learn about things wherever they are. Today we are introducing Notify, a new app from Facebook that delivers timely notifications about the things that matter to you, from the sources you love, all in one place. Everyone has different interests, so whether you’re into sports, celebrities, news, movies
A unified developer experience for software development Nuclide is built as a single package on top of Atom to provide hackability and the support of an active community. It provides a first-class development environment for React Native, Hack and Flow projects. Retiring the Nuclide Open Source Project A few years ago, we introduced Nuclide to provide a first-class IDE experience. We’ve made treme
A declarative UI framework for iOSComponentKit is an Objective-C++ view framework for iOS that is heavily inspired by React. DeclarativeComponentKit uses a declarative API to define UI components. You simply describe the layout for your UI based on a set of immutable inputs and the framework takes care of the rest. With code generation, ComponentKit can perform optimizations for your UI under the
For the latest information on how to send or receive money in Messenger, visit our Help Center. Today we’re adding a new feature in Messenger that gives people a more convenient and secure way to send or receive money between friends. This feature will be rolling out over the coming months in the US. It’s easy and free. To send money: Start a message with a friend Tap the $ icon and enter the amou
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く