Giter Site home page Giter Site logo

jquery.instagramfeed's Introduction

Javier Sanahuja

PHP Javascript HTML CSS WebRTC

Jsanahuja's github stats

jquery.instagramfeed's People

Contributors

csanahuja avatar jsanahuja avatar m0nclous avatar mahotilo avatar petermorgandev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jquery.instagramfeed's Issues

InstagramFeed Error

On the main demo page any of the instagram feeds using 'username' instead of 'tag' are receiving an error and not showing. On my websites using the instagram feed I am also getting an error and the feeds are not loading.

image

An error (Display breaks on "·" character) was introduced in latest Jan 7 2020

Hi There,
I've produced a Drupal module to integrate your library into Drupal sites and recently an issue came up where if an image on instagram contained a "·" character in the name of the image, it would break the display.

I tracked down the issue to be something that was introduced between the November 29, 2019 version of jquery.instagramFeed.min.js and the one that was most recently released on January 7, 2020.

If I use the January 7, 2020 version, the problem comes up. If I use the November 29, 2019 version, the problem doesn't exist.

The instagram user I'm referring to is: transcend_the_physical

I've attached relevant screenshots. The issue is discussed here: https://www.drupal.org/project/simple_instagram_feed/issues/3111759

Screenshot 2020-02-11 12 26 03

I haven't run a diff to check but I would expect it should be a fairly quick way to resolve the issue.

Cheers,
Andrew

Getting 302 redirection to login

Hi there ! I've set up the library on a project, works perfectly fine. However, after a few days, the feed stopped working.

I was scrapping info from a single client instagram account to display their latest publications. Now I get 302 redirection through instagram login page, avoiding me to retrieve datas from public profile.

From what I've read, Instagram of course has a limit for scrapping. Do you know if there is a way to bypass it, or any additional infos regarding actual limit?

Video issue

If theres a video in the account the scripts crashes and stops working. Not even showing images from feed.

Plugin Stopped Working

I noticed yesterday that my Instagram feed stopped working. Debugging it looks like the Ajax request is being redirected to a login page on IG. This is happening on more then one use using the script and they both have public feeds.

Any idea what's going on?

Screen Shot 2020-05-21 at 4 17 01 PM

Screen Shot 2020-05-21 at 4 19 08 PM

photos max

photos to view

hello everyone, wonderful script

is it possible to increase the photos to see?

now they are max 12

'items': 12

For how much user we can use this jquery.

Hello Team,

Thanks for this jQuery plugin. It works very good!

I have used this plugin on my website. There is more than 2000 instagram plugin. So we are using this plugin to show instagram feed when click on username. We have list of user, when click on username its open a popup and at bottom of popup we are using your script for show instagram feed ofr that particular user.

I just wnat to know that for how much user we can access this jQuery. Is there any limitation with this jquery that we can access this for limited no. of user in an hour? Please see screenshot of my list user.

Screenshot from 2020-06-11 13-18-35

Thanks

Display from Multiple Accounts

It would be great to be able to display from multiple user accounts in the feed. It doesn't look like the username cna accept more than one parameter. Is this a possible addition?

php variable and functin

I can insert a variable php into the function
which takes dynamic data for each field
example:
$instagram=$row['urlinstagram'];

<script>
        (function($){
            $(window).on('load', function(){
                $.instagramFeed({
                    'username': '$instagram',

It's working on some devices and not on others

Hello,
I've been using the plugin on my Blogger themes since February (i own a small Etsy shop), and recently, some people have told me it's not working, but I can still see the plugin on their pages. The same people also told me that they were asking someone else to check and that they were seeing it too. So, some people can see and others can't.
Is this a known situation? Any clues as to what it might be?
Thank you!

How to make it work on Chrome?

Hello,

I have a little problem. Its working perfectly on Safari, however when I open the page on Chrome a nothing works.
Screenshot 2020-04-02 at 18 56 52

Add support to render other scales

By default we render thumbnail_src which is the 640 x 640 scale. In the thumbnail_resources array we have available the scales for the 150x150, 240x240, 320x320, 480x480 and 640x640.

  • Add support to render images of other scales
  • Update documentation
  • Add markup for different resources (classes depending if its video, sidebar, igtv)

EDIT: Markup

Just stopped working with username...

Hi,
Thanks for this nice project!
The function just stopped working when it used with username on my website.
I checked on your documentation website and it's same issue.
Do you know what happened?
Thanks for your help,
Kind regards

direct pictures id selection

hello at first thank you for this simple tool without needed api support. its greate

is there a simple way that I can tell the script when loading which pictures it should load explicitly?
total pictures e.g. 20. and it should load picture 1-4, and when i tell em picture 5-8, .... picture 9-12 ect. ect. without changing the script itself? or i have to use get data with callback and build it by my own?

thank you :)

Not working

Error:

Uncaught TypeError: Cannot read property '0' of undefined
    at Object.success (jquery.instagramFeed.min.js:9)
    at c (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at l (jquery.min.js:2)
    at XMLHttpRequest.<anonymous> (jquery.min.js:2)

code:

$.instagramFeed({
        username: "travelagent_cestujsk",
        container: "#instafeed",
        display_profile: false,
        display_biography: false,
        display_gallery: true,
        callback: null,
        styling: true,
        items: 8,
        items_per_row: 4,
        margin: 1
    });

Version: 1.2.1

number of pics - load more...

Hello
no matter what number I use I only get 12 pictures - I put in 100, still only get 12 pictures - was wondering what is going on.

how difficult would it be to e.g. show an initial 9 picture and give the user/visitor the option to load more pictures?

Thanks in advance for your input.

Image_size paramter not working

Hello,
if I set the parameter image_size, the image will not have the size I set.
This is happening because the width form the image is calculated based on the images per line.

How to implement this script?

Implementing on the body of the page doesn't have any effect. Is there any HTML Code that I need to add?

<script src="jquery.instagramFeed.min.js"></script>
<script>
    (function($){
        $(window).on('load', function(){
            $.instagramFeed({
                'username': 'instagram',
                'container': "#instagram-feed1",
                'display_profile': true,
                'display_biography': true,
                'display_gallery': true,
                'callback': null,
                'styling': true,
                'items': 8,
                'items_per_row': 4,
                'margin': 1 
            });
        });
    })(jQuery);
</script>

Retrieving images from username with tags

Is there a way to retrieve the images using both the "username" and "tag" options?

I want to get images with a specific tag from a specific user, but at the moment its one or the other.

It stopped working for me

Only Instagram images appear searching for TAG. By username shows error.

In the example it is also not working, and displays the same error:

Uncaught TypeError: Cannot read property '0' of undefined

Screenshot_1

Responsive "items_per_row" Value

Is there a way to change the "items_per_row" value in a media query? I'm trying to make items_per_row = 3 on desktop and items_per_row = 2 on mobile screens.

Thanks for the great repo!

CORS Policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

All our sites using this script have gone down with the same CORS error at same time. Instagram may have changed their CORS policy recently, as this script has been working perfectly for months. Is there any way to get around the error?

Access to XMLHttpRequest at 'https://www.instagram.com/ACCOUNTNAME' from origin 'https://SITE.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

InstagramFeed.js:218 Uncaught TypeError: Cannot set property 'innerHTML' of null

Hey guys. I tried using https://github.com/jsanahuja/InstagramFeed. Getting the following error when trying to use it:

VM140 InstagramFeed.js:218 Uncaught TypeError: Cannot set property 'innerHTML' of null
at Object.display (VM140 InstagramFeed.js:218)
at VM140 InstagramFeed.js:226
at XMLHttpRequest.xhr.onload (VM140 InstagramFeed.js:96)

Here's my implementation:

<script src="js/InstagramFeed.js"></script> <script> (function(){ new InstagramFeed({ 'username': 'screentek', 'container': document.getElementById("instagram-feed1"), 'display_profile': true, 'display_biography': true, 'display_gallery': true, 'callback': null, 'styling': true, 'items': 8, 'items_per_row': 4, 'margin': 1 }); })(); </script>

And then of course the div.

Did you guys run into this? Seems like I'm doing something wrong or something has changed?

I can't get it to work.

Hi, maybe its not issue, but i can't get it to work.
I want to show small gallery. Can you show me working file? Or somewhere on web?
What am I doing wrong?
When i put js to file it will do nothing for a example my file looks like this:

`

<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
<script type="text/javascript" src="jquery.instagramFeed.min.js"></script>

<script> (function($){ $(window).on('load', function(){ $.instagramFeed({ 'username': 'myname', 'container': "#spring", 'display_profile': true, 'display_biography': true, 'display_gallery': true, 'callback': null, 'styling': true, 'items': 8, 'items_per_row': 4, 'margin': 1 }); }); })(jQuery); </script>
</head>
<body>
    <div>Its working</div>
    <div id="jsonHere"></div>
</body>
`

Responsive display

consider those setting for desktop display
note that i only want to display 10 images on one row
'items': 10,
'items_per_row': 10,

when i switch to mobile the images get smaller and not visible enough
so how to tell the browser in case of mobile to display one or two items per row

Adding event hooks

Great plugin!

Is there any way I can execute custom code when the plugin finishes loading the posts (like onEnd or something similar)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.