How do I share a link and photo with Instagram using PHP? I can't find anything for "share photo with instagram".
You can access your Instagram link by clicking the edit profile button on your profile, right under your profile picture. On the opened page, copy your username, and paste it after the Instagram URL like “www.instagram.com/username.”
Publishing single image, video, story or reel is a two-step process: Use the POST /{ig-user-id}/media endpoint to create a container from an image or video hosted on your public server. Use the POST /{ig-user-id}/media_publish endpoint to publish the container.
By "share photo with instagram", do you mean that you are trying to post a picture to Instagram via PHP? You cannot post pictures to Instagram via the API.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With