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:
沒有留言:
張貼留言