How to upload video and post using linkedin API?

强颜欢笑 提交于 2019-12-13 20:26:34

问题


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


回答1:


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

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 does not have permission to create ugc posts

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.



来源:https://stackoverflow.com/questions/55115560/how-to-upload-video-and-post-using-linkedin-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!