开发者

Post video to user facebook wall using PHP

I want users of my website to upl开发者_运维百科oad videos with title and description. The posted video will be saved on server and also published to the user's facebook wall.

What I have done

  1. Save video on server.
  2. Create Facebook application to get the App Id and Secret ID.

How I can post the video to user's Facebook wall?


Just post a link to that video into facebook. It will automatically convert it, if I'm not wrong. Or you can add this into dummy page & post link to that one

    <meta name="video_width" content="460" />
    <meta name="video_height" content="460" />
    <meta name="video_type" content="application/x-shockwave-flash" />
    <link rel="image_src" href="http://addr.es/to/image.jpg" /> 
    <link rel="video_src" href="http://addr.es/to/video.swf "/>

it has to be flash object!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜