instagramapi-mgp25

Instagram API with PHP

本小妞迷上赌 提交于 2020-08-26 09:33:30
问题 I have an application where I am using Facebook,Linkedin and Twitter Api's to post on the respective platforms.Now I am deciding to use Instagram to start posting using their Api but I have not found any good articles to implement their Api. Moreover I have read somewhere that it is not possible to post media contents using Instagram Api's. Is it true or we can now use Instagram to share media contents ? 回答1: Currently, it's only possible to post comments via the Instagram Graph API. You

Instagram API with PHP

て烟熏妆下的殇ゞ 提交于 2020-08-26 09:32:00
问题 I have an application where I am using Facebook,Linkedin and Twitter Api's to post on the respective platforms.Now I am deciding to use Instagram to start posting using their Api but I have not found any good articles to implement their Api. Moreover I have read somewhere that it is not possible to post media contents using Instagram Api's. Is it true or we can now use Instagram to share media contents ? 回答1: Currently, it's only possible to post comments via the Instagram Graph API. You

mgp 25 “Consent required”

生来就可爱ヽ(ⅴ<●) 提交于 2020-06-01 05:30:34
问题 I am getting an error in the mgp25 Instagram API. When I run the application on localhost, there is no problem, but when I get to the paid host, I get the following error.: InstagramAPI\Response\TimelineFeedResponse: Consent required I had been working trouble free for 1-2 days but I noticed that it is not working. How can I solve this problem, is the problem with the proxy? 回答1: This exception is related to GDPR consent. Is your host IP from the EU? A GPDR consent request would look like

Get `max_id` of of specific Instagram Story Poll Voters

此生再无相见时 提交于 2019-12-11 12:03:30
问题 I know that I can receive the Story data and the Poll voters data using getStoryPollVoters() which takes the following parameters: * @param string $storyId The story media item's ID in Instagram's internal format (ie "1542304813904481224_6112344004"). * @param string $pollId The poll ID in Instagram's internal format (ie "17956159684032257"). * @param int $votingOption Value that represents the voting option of the voter. 0 for the first option, 1 for the second option. * @param string|null

PHP Instagram-API: Caption text does not exist

萝らか妹 提交于 2019-12-11 03:53:55
问题 I use Instagram-API for the posting images with captions. I try: $ig->timeline->uploadPhoto($photo->getFile(), ["caption" => "Hello world!"]); The request is completed, the image is successfully uploaded, but the caption is empty. When I run the example uploadPhoto.php, the image is also loaded without a title. How can I fix that? 回答1: $photoFilename = Enter Path here; $photo = new \InstagramAPI\Media\Photo\InstagramPhoto($photoFilename); $captionText = 'Hello world!'; $ig->timeline-