Posting an embedded YouTube link using the Facebook sdk

后端 未结 1 1920
故里飘歌
故里飘歌 2021-01-07 04:51

When you share a YouTube link on FB with intent it automatically embeds the YouTube player into your wall and it look like this

相关标签:
1条回答
  • 2021-01-07 05:41

    solved : using tutorial Publish to Feed , using post

     postParams.putString("message", "Link to YouTube");
            postParams.putString("link", "http://www.youtube.com/watch?v=3aICB2mUu2k");
            postParams.putString("source", "http://www.youtube.com/v/3aICB2mUu2k");
            postParams.putString("picture","http://img.youtube.com/vi/3aICB2mUu2k/0.jpg");
    
    0 讨论(0)
提交回复
热议问题