Jump to content

Instagram Photos


Adriano Faria

Recommended Posts

Posted

Hello. There was a change that affected what could be shared through the Instafeed API, but now I'm not sure if it is preventing the plugin from working. I ran across several pages that referenced the changes. I'm sorry if I was wrong about those changes breaking the plugin though. I thought the changes were preventing me from getting the access token. I was incorrect.

I went to http://instagram.com/developer and fought it for a couple of hours. The registration  form would not submit. It said the form was not completely filled out and the captcha info was wrong. I must have filled it out twenty times. Turns out the form isn't working properly on MacOS. I started Windows 7 via Parallels and the form submitted just fine, the first time. So, I have the Instagram user id installed in the widget and the access token installed in the plugin settings, but the widget doesn't work. The widget doesn't preview any content while I still have the Block Manager open and when I close it, the widget disappears completely. I have been trying to get this thing working for more than 5 hours and I don't know what else to try.

  • Replies 50
  • Created
  • Last Reply
Posted

Yes, AFAIK.

You can only have one enabled. Either Curl (without SSL support) or CurlSSL (Curl with support for SSL). I don’t use SSL and it’s s a requirement, so support is provided for cURL only.

Ask your host to rnable it and make a test.

Posted
8 hours ago, DonnonGT said:

Changing from cURLSSL to cURL made no difference. The plugin still wouldn't work.

 

1 hour ago, Adriano Faria said:

I will test it in a couple of hours. 

My host disabled cURL! >_<

But I just checked a couple of other clients and it seems to be working:

Requested my host to re enable it so I can make a screen video.

Posted

Ok, host just re enabled it and it's working fine:

qdjUX4E.png

You probably are inserting the wrong Access Token in the settings. The way I did:

HRTlKX8.png

bZBMP7c.png

Then after you get the CLIENT ID (mine is obscured above), go to this URL: https://instagram.com/oauth/authorize/?client_id=YOUR_CLIENT_ID&redirect_uri=http://localhost&response_type=token

Replace the YOUR_CLIENT_ID by the Client ID you just get when you created the app and you'll be redirected to a URL with the token on it.

 

 

Posted

I've done that. I have the client id in the widget and I have the token in the plugin config.  I've deleted and repeated the steps above three times now. It just is not working. No content is being displayed.

Posted

I reinstalled cURL, instead of cURLSSL, to try once again to see if it would fix the plugin, but the plugin still didn't work. In addition to that, running cURL instead of cURLSSL causes problems with the IPS software. With cURL installed, I get this warning in my ACP:

59e16dbfca81e_ScreenShot2017-10-13at8_47_48PM.thumb.png.f67b2916491d8f79b42af736b0876d08.png

and this error throughout the site:

59e16dd6d932a_ScreenShot2017-10-13at8_48_52PM.thumb.png.fe81a06faaa62654a1e109649ab89742.png

The IPS software apparently uses cURLSSL to do its software license checks. Many third-party plugins and apps use cURLSSL as well. If you aren't getting a license warning on your site, I am guessing that your ISP is using cURLSSL.

Anyway, my Instagram account's profile area shows that the plugin is an approved application, I have the client id number added to the widget and the access token added to the plugin config. I don't know what else to do. Any ideas?

Posted

Well, there’s no magic there. Either you’re doing it wrong or the extension isn’t “properly” available.  

I showed 3 sites working.

No, no ideas. If the problem is cURL, then there’s nothing I can do, sorry. The file description is pretty clear when it says it is required. I can change it in a future version but I have absolutely NO ETA to do that.

Posted

When I type in the url you access via cURL in the plugin, with my user id and access token plugged in, I get a page not found error. Should this happen?

 

59e171c019df7_ScreenShot2017-10-13at9_06_08PM.thumb.png.ad39e106067adeb1bca32bcb77a4d35c.png

Posted

FWIW, I just put a cURL test script on my site and cURL is functioning.

59e1959052c7a_ScreenShot2017-10-13at11_39_35PM.thumb.png.bedb594961dcf22be81b8e5785ddb920.png

 

I've also looked up my Instagram user id again and generated my access token one more time. They are installed where they are supposed to be. There are no cURL errors in my server's logs.

Could this be a version issue? I am running the latest version of IPS. Do you know what version the sites you used as examples are running?

 

Posted
7 hours ago, DonnonGT said:

So, I've just wasted $15 and about ten hours of my time.

Yes, since it’s pretty clear the requirements but as I don’t want to waste all day ling again here, I just filled a refund request to IPS. You will get your $15 back as account credit. 

Posted
On 13/10/2017 at 11:01 PM, DonnonGT said:

So, I've just wasted $15 and about ten hours of my time.

 

On 14/10/2017 at 6:17 AM, Adriano Faria said:

Yes, since it’s pretty clear the requirements but as I don’t want to waste all day ling again here, I just filled a refund request to IPS. You will get your $15 back as account credit. 

You were refunded. 

Posted

What's New in Version 1.0.1

Enhancement:

  • Removes the cURL PHP Extension requirement. It now uses IPS4 methods

Instagram API changes:

  • IMAGES: it now displays only images from the tojen owner 
  • COMMENTS are not being displayed and no change in documentation were done yet, so I'll wait to make it compatible when it's time
  • The widget option MEDIA LIKED isn't returning data, so it will display only images from the User ID informed
  • 2 weeks later...
Posted

I do have an access_token and I have tried multiple different instagrams ID. However, for all of them nothing shows up in the feed.

 

280aca876764a9d4b4fc35c094a95bae.png

Posted
20 minutes ago, Adamas said:

I do have an access_token and I have tried multiple different instagrams ID. However, for all of them nothing shows up in the feed.

 

280aca876764a9d4b4fc35c094a95bae.png

Paste your token here. Just change some numbers/letters randomly. I want to see the “format” of that string. 

Did you create the app in the Instagram.com/developer? Did you authorized it?

There’s a ton of tutorials in the Google to show you how to do that.

Posted
9 hours ago, Adamas said:

I do have an access_token and I have tried multiple different instagrams ID. However, for all of them nothing shows up in the feed.

 

280aca876764a9d4b4fc35c094a95bae.png

Yes, I just tested and can confirm it. It is showing only images from the token owner:

zjOBtVf.png

Apparently this is one of the several changes they made in the API lately.

Read: https://www.instagram.com/developer/endpoints/users/#get_users

Quote

Get information about a user.
The public_content scope is required if the user is not the owner of the access_token.

According to the text above, it's possible if you require a public_content: https://www.instagram.com/developer/authorization/

Only in this page I used 3:

56cca192755e0_Screenshot1.PNG.70d6942a56

So yeah, that's how it is now. I will update the file description.

Posted

On the link you just posted it says public_content applications are no longer being accepted. Does this mean that this plugin no longer can get feeds from other people instagram without their permission?

Posted

No. The plugin keeps doing what it is supposed to do: it connects to instagram via API and list photos. The fact Instagram changed their API doesn’t make me culprit of anything. 

Feel free to request to IPS, if you feel you should. I just disagree. 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...