DESCRIPTION OF MY PROBLEM:
So basically, when I want to share a post, it works if it just involves text. But for an image share (text with images) we need to follow the method at Share on LinkedIn - LinkedIn | Microsoft Docs
Procedure is
Register your image to be uploaded.
Upload your image to LinkedIn.
Create the image share.
I’ve been facing this issue for a really long time now and sincerely hope someone can help me out.
I’ve got the necessary products for the newly created app on the LinkedIn Developers dashboard.
I get the return value of asset and upload URL from step 1. But I don’t know how to execute step 2 - The upload your image involves a cURL that isn’t possible on Bubble. So I tried converting it to a REST on Bubble itself.
Now after executing this (as per screenshot above), I check the status of the Asset and am getting CLIENT_ERROR there. I’ve searched everywhere and tried changing the Content-Type as well to multipart/form-data, image/png and application/json but it doesn’t seem to work.
It’ll be great if someone can help me out with this.
I’ve hit the same road block. Has anybody figured it out. I could greatly use the assistance and would be happy to make a definitive blog post to help others.
@prashantabbi.is19 I am struggling to initialize a post call to Linkedin. I believe the issue might be with the parameter “author”, i’m not sure how to set it up. Can you please have a look at my settings below and tell me what i’m doing wrong? You can see below the error message
The issue was my Linkedin Id. I made a GET request to obtain my id, which enabled me to properly setup the author field. After that, I was able to initialize the POST call