如何使用linkedin API上传视频并发布? [英] How to upload video and post using linkedin API?

查看:371
本文介绍了如何使用linkedin API上传视频并发布?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个应用程序,允许用户上传视频并在多个社交网站(如Facebook,Twitter,Linkedin)上发布.为此,我希望使用Linkedin上传视频Api.我进行了很多搜索,但是找不到任何可以帮助我的相关文档.任何人都有机会对此进行研究.任何帮助将不胜感激? 注意:我正在使用php laravel框架

I am developing an app that allows the user to upload the video and publish across several social sites like (Facebook, Twitter, Linkedin).For that i am looking to use the Linkedin upload video Api. I search a lot but couldn't find any relevant documentation that could help me. Anyone have a chance to work on this. Any help would appreciate ? Note : I am using the php laravel framework

推荐答案

您至少可以在理论上使用新的

You can upload videos to LinkedIn, at least in theory, using their new UGC Post API.

我说理论上是因为创建视频UGC帖子目前是白名单中的功能.如果您按照上述文档中的步骤进行操作,您将陷入最后一步,因为它将引发此错误:

I say in theory because creating video UGC Posts is currently a whitelisted feature. If you follow the steps in the documentation above, you will get stuck at the very last step as it will throw this error:

com.linkedin.publishing.util.common.ResponseException: urn:li:developerApplication:APP_ID没有创建权限 ugc帖子

com.linkedin.publishing.util.common.ResponseException: urn:li:developerApplication:APP_ID does not have permission to create ugc posts

联系 LinkedIn 后,他们确认,虽然您可以创建其他类型的UGC帖子(状态更新,链接附件和照片),暂时不支持视频,并且目前正在暂停将新视频应用列入白名单.

After contacting LinkedIn, they confirmed that while you can create other types of UGC Posts (status updates, link attachments and photos), videos are for the moment not supported and there is currently a hold on whitelisting new apps for video.

这篇关于如何使用linkedin API上传视频并发布?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆