Instagram Widget
Displays a users recent feed within a widget on your WordPress website.
Sign In to Instagram to get your User_ID and Access Token
I have had a lot of request the instagram pictures display horizontally. This can be done by adding the following code to your stylesheet:
#instagram_widget li{ width: 150px; float: left; margin-left: 25px; }
For more information about Instagram, Click Here
to the cause
Comments, Bugs or Suggestions
Ma come ci si registra? please!
Cosa vuol dire … registrare o di iscrizione?
COME SI OTTIENE IL TOKEN?
Accedi thorugh “Sign In” per ottenere il token di accesso. Una volta effettuato l’accesso tramite instagram, il token sarà stampato sul ghiaione. È necessario disporre di un account con instagram prima.
please provide information for widget access?
What do you mean widget access?
Glad to visit this blog, keep it going.
Many thanks for trying to describe the terminlogy to the learners!
It is always hard to find advised people with this topic, but you seem like you understand exactly what you are writing on! Thanks
I would like to pull in the url to the full size image, rather than the smaller thumbnail size. Basically need to edit this part of the plugin: .$item->images->thumbnail->url. What would the new parameter be to pull in the full size image? The reason I want to do this is so that I have more control over the size of the image displayed via css (and scaling UP from the thumbnail looks like garbage).
Also, it would be great if the pulled in images were clickable and would open the instagr.am url associated with that image. (ex: http://instagr.am/p/bD6fW/). Again, editing the plugin is fairly easy, I just need to know the proper parameter associated with the item’s url (ex: $item->url ?).
Thanks!
The images are returned in 3 sizes: thumbnail, low_resolution, and standard_resolution. You would need to update the plugin to $item->images->other_resolution_here->url.
I will also link the images to the actual link.
If you give me to the end of the day I will push an update that will give you these options.
Nevermind. I figured it out. The two strings needed are:
$item->images->standard_resolution->url
and
$item->link
Yep, you got it. I will still push an update to add these options. Be careful updating as it will override your custom changes.
I pushed an update with the changes you were asking about.
I checked out your site, cool way of displaying the widget. I like the icons.
Thanks for downloading and using it! If you have any more request or suggestions, just add a comment and I will get to it as soon as I can.
Thanks! Your plugin is great…great to work with and very easy to style the way I wanted. Definitely recommending it to other wordpress friends.
I’m getting a “The user currently does not have any images…” message and no images are showing up. On this page, where I get my token, I can click on “View your feed” and I see all my images. Any idea what might be going on?
Thanks!
I am not sure why you would be getting this message. The only way to get this message is if your user_id does not have any images.
I am guessing your instagram name is johnberry?
If it is, then I am not seeing any photos attached to the username. If you give me your user_id or username I will further investigate the problem.
Thanks.
Hi, thanks for the quick reply! My instagram username is berrysports
Thanks for looking into this.
John
I have looked up your username and user_id, it all seems to work for me. The only thing I can recommend is logout and sign in again. Maybe there was an unseen space in the access_token if you copied and pasted it.
It does work here as you can see: http://davidmregister.com/blog/
Nice Pics!
Thanks. Logged out and got another token, but still doesn’t work. Also tried installing on another website, berrysports.com, but doesn’t work there either. It must be something with my hosting provider. Both sites are hosted by webintellects.com.
Oh well, thanks for your help.
In that case I would assume that it is the hosting environment. If I were you, I would contact my hosting my hosting provider and make sure the PHP CURL is enable. This is a crucial part to getting this plugin to work.
Let me know how things turn out.
Glad to help.
They’ve installed CURL on my server, and given me the path to it
/xxx/xxxx/wi-curl
I assume I’ll need to make a change to a file somewhere to put in that path. Can you tell me which file?
Thanks.
Well on a shared hosting environment, I am not sure that you have access these files. Do you have root access to this web server?
Try this:
create a blank file, inside that file type this:
< ?php phpinfo(); ?>
(no spaces between these characters < ,?) save that file as test_config.php and upload it to the root. Now go to that file by typing http://johnberryphotography.com/test_config.php (if you uploaded it to johnberryphotography.com/ webroot)Search for curl and make sure it’s enabled. Let me know if it says enabled.
Made the file, uploaded it, and when I scroll down to CURL, it says cURL Support is enabled.
At this point I am not sure without actually troubleshooting your hosting environment. The only dependency is cURL.
==Edit==
There is one last thing to try. Open the plugin in the Plugin Editor. Just after the < / styles > you should see:
< ?php $results = $this->get_recent_data($user_id,$access_token);
Replace that line with:
< ?php $results = $this->get_recent_data($user_id,$access_token);
print_r($results);
Refresh the page and let me know what it says. After you get the error message just delete the line print_r($resutls);
I’m logged into our instragram account and don’t see anything about an access token. Has something changed? Where can I find the access token?
Nothing has changed. Have you gone through the process of Signing Up and approving the application to view your feed from this page?
Perfeito! Amei o Widget! Meu blog está mais lindo! Instagram no blog, perfeito!
Hello,
I have the Instagram widget set up as my footer 4 (I have also tried it in my sidebar to see if that would resolve the issue). I have logged into my account here, added the provided user id & access code & can see my photo feed on this site. However, on my blog, all I see is “This user has not uploaded any photos”
Any suggestions?
My username is veganhousewiveskortney & the ID I was given here is 5171475. I have a 351 photo feed showing on phones and on the site here so I know the pictures are there. Hosting is through hostgator.
Thanks for using the plugin. My first suggestion would be to contact your hosting provider and make sure cURL is enabled. I am currently working with some else who is experiencing the same issues. Maybe my troubleshooting with him will shed some light on your problem as well.
I’ve tried everything. I have cURL installed and I tried adding and removing the php. Still no luck.
Have you enabled debug mode on the widget? what is the output?
hie there….
i’ve uploaded the widget to my worpress.org blog
and while i only have about 12 photos in my instagram, the widget reads user doesnt have images yet
ive used the user id and the token
can you suggest what else i may try?
Same thing for me, CURL is installed, I’ve got my ID and key and can view the feed here on this page, but when I incorporate it into the site it gives me this: “The user currently does not have any images…”
Here’s my debug feedback, sans the ID’s. There is nothing after results:
Latest Instagram:
Curl is Enabled
Curl Version Number:
463616
User ID:
xxxxxxx
Access Token:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Results:
Não consigo instalar o plugin do Instagram no meu blog…. O icone nao esta nos meus widgets.
Your User_ID is: 4090055
Your Access Token is: 4090055.3149828.52d1bb2832ed41d680a89fa0bb214a1e
Depois disso faço o que?
I can’t install Instagram at my blog on wordpress. My user ID e Access Token are above. What do I have to do now!!!
Grata, Thank you
Vanessa
Hi, is there any way I can use this widget on blogger? I’m sorry if you’ve already answered this, I just think this is the best option from all the widgets I’ve seen for Instagram. Thank you!
Hi,
I get the same msg reported by others on this thread. “The user currently does not have any images…” Curl is enable on my site and I see my images in my account. Please advice.
Never mind its all good now. yes there are spaces when you copy and paste. Need to check for that if anyone else is having problems. Thank you
Hi there, is there away I can have the photos going stacked horizontal, side by side. I would like to add this to my footer. Right now it’s on the sidebar stack vertically.
http://www.r-miguel.com
thank you
R.Miguel
I would love to have the photos going across horizontally as well – how can we do this? Great widget!
I have added the code needed to display the images horizontally on plugin homepage.
Can you help me with the CSS to achieve the same thing this site (http://www.briangardner.com/) has with your plugin?
Basically I just want 2 rows of 3, with smaller thumbnails.
I have a token, now what? I’ve gone to three different third party websites to get my gallery feed since instagram does not provide it (as far as I can tell). I can get my gallery by clicking on “View Your Feed” here, but the link there isn’t mine. Feed is not showing on my site. Confused – Please advise.
Thanks
I am using WordPress 3.1 and it looks as though the php on my server is running PHP 5.1. When i try to add the widget and all my info, it seems that it break on the site. I have only added this plugin and testing this off the native WordPress theme for 3.1.
I know my server needs to be updated on the PHP front, but just wanted to get your initial feedback on wether you thought it was an issue with PHP or something more I may have done.
The widget was working fine for me and then stopped. I then forgot my instagram logins so needed to create a new account. Now when I click on the link to sign in to get access key I can’t get through to “the server” can ypu help?