-
-
Notifications
You must be signed in to change notification settings - Fork 128
images are not showing on all feed #61
Comments
Same issue. Waiting for fixing... |
Same issue. Even examples on plugin's site don't show images but only texts. |
@jsanahuja, any suggestions about this issue? Attempts to access images via direct links return 403 with "URL signature expired" message: Also as far as I concerned, the issue with CORS and image access can be reproduced while your computer connects to some internet-endpoints (e.g. Wi-Fi). |
ugh I thought the problem was due to my apache cache thing; good to know I am not alone |
I hope @jsanahuja will come soon :/ I'm using it on so many websites.. |
Me too... |
Adding myself on here, to follow for (hopefully) a solution soon... |
@jsanahuja, help us) |
@jsanahuja Adding myself here. |
1 similar comment
@jsanahuja Adding myself here. |
same problem on all website where i use it. @jsanahuja if you fix it give me your paypal, you need a donation for this. |
@jsanahuja is the repo alive? |
If you have Cloudflare account you can fix this issue using Cloudflare workers by following these steps I've tried and it works. |
Was someone able to fix this issue..? |
As mentioned here we can use rapidapi as proxy. But there're limitations: 100 requests/month with free plan. There're a bunch of API's, but they have even harder limit: 20 requests/month or 20 requests/day. |
Hello, not wanting to be negative, but I believe that it will be very unlikely to find a solution since instagram is very strict in unauthenticated access. As I have several sites that depend on a smilar script, I searched and improved two scripts that use the new official method via the graph.instagram API. The first uses javascript and the second PHP cURL, I am still testing it but the results have been great. |
jQuery Ajax for feed Instagram Graph API PHP cURL for feed Instagram Graph API @jsanahuja Sorry for posting another third party solution here, your script is incredible, much more complex and well developed than the scripts above and it helped me for a long time. But either way I need to be generating alternatives because customers keep asking about a solution :( |
This is a good solution to the problem, but what if I have a hosting that is already optimized for everything you need, and I don't need to use Cloudflare? |
Good question. You can create Cloudflare workers for free (100k requests/daily) and then you need modify a little bit of the library (See #62). new InstagramFeed({
'username': 'travisci',
'container': document.getElementById("instagram-feed5"),
'display_profile': true,
'cdnUrlResolver': function(url) {
return 'https://your-cloudflare.workers.dev/' + url;
}
}); Check my live demo: |
Yes, but if I understand correctly, will I still need to migrate my domain's dns to cloudflare? |
No, You don't need to do that. Migrate your domain to Cloudflare is optional. But, If you need your cdn to be customized to your domain, then you need migrate your domain to Cloudflare (e.g: cdn.your-domain.com) as pointed No 1 on tutorial. |
awesome! Thx for ur solution ) |
@evaleries great solution! Could you share the configuration inserted in your cloudflare worker? I tested it here just by creating one, and the default settings return me the 404 error. |
@ribeiroeder First of all, I don't know your default settings. As far as I know if you copy the whole script on tutorial, you can't directly access the workers (It will says 404 Bad url). The workers require Instagram's post url. So the final example would be: https://your.workers.dev/Instagram_post_url |
Yes, the script is assembling the url correctly, see here Similar to your worker, but it seems to be missing some configuration within the cloudflare worker to not return the 404 |
Looks like images are not showing in any feed , seems like same CORS issue
Many thanks
A
The text was updated successfully, but these errors were encountered: