[筆記] Practice: Open graph with Facebook JavaScript API

Reading time ~1 minute

Source: https://bitbucket.org/julianshen/videomag/overview

Demo URL: http://growing-wind-8625.herokuapp.com/top

Server: Play framework 2.0 on Heroku

Open graph object: Youtube video, Action: watch

It’s not a problem to add youtube video since it already contains open graph meta data in page. All we have to do is call “/me/video.watches?video=youtube_link” with POST.

To post activity to timeline, the permission “publish_actions” is required. 

The result on timeline:

_2012-04-13_2

[筆記][node.js] 使用nvm安裝查克拉版的node.js

從[nodejs 8](https://nodejs.org/en/blog/release/v8.0.0/)開始, nodejs可以不再需要一定跟V8綁在一起了, 之後底層的Engine可以換成微軟的[查克拉](https://github.com/Microsoft/C...… Continue reading