Closed nschah closed 4 years ago
could you also give network details? any failed requests from cdn?
if the issues are related to the CDN like 404 you could just host a CDN within SharePoint yourself and not rely on any external dependency: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/hosting-webpart-from-office-365-cdn
Network
As stated in the other issue, same errors for me. Also no 404 errors in the network pane!
Just to confirm this is a SharePoint online page?
Just to confirm this is a SharePoint online page?
yes that's correct
Yes a modern page
Just uninstall the previous web part and install this version in the ZIP file, I've removed all references to the CDN it's all native now.
Just upload this Web Part in the App Catalog, and deploy
Go to the site where you want to use and add it as an App
Add the web part on the web page
I tried it, but same error:
quite sure it is something in the JS that is missing/wrong...
Thank you for your support, appreciate it!
I'll look into this further, maybe browser support for fetch,
Till the time I'll ask for the browser details and any other environment details you can share you used and may be you could try making a build at your end https://github.com/thenikhilk/sharepoint-instagram-feed/blob/master/documentation/developer-guide.md
@nschah @thijsvgils Fixed. Changed the logic and dependencies, included extra error handling, removed CDN dependencies, and here you go:
Updated package: thenikhilk-sp-ig-feed.zip
Let me know if it works for you now, then I'll merge to master and create a new release changes in #5
Fixed issue please refer to the release package for web part in v1.0.2 https://github.com/thenikhilk/sharepoint-instagram-feed/releases
@nschah @thijsvgils I hope your issue was solved I've tested them out on multiple tenants, they seem to be working now
Hi @thenikhilk, No errors on the page this time, but still not showing insta posts. This is the error i'm getting in my console:
This is what i see on the page:
any way we could connect over chat or screen share?
Sure, shall i send you a MS Teams call to your email address? I can meet in 1,5 hour, would that be ok?
ok, or just mail me the invite link. I'll join there
I´ve been having the same problem.
@thenikhilk @thijsvgils any News to the issue? On my page its working sometimes, but mostly not.
@nschah @thenikhilk Same here, sometimes it works sometimes it doesnt. @thenikhilk is still looking into it.
I have a fix for this, I'll be publishing it over the weekend
Hi Nikhil, Please can you fix the issue and update the repository, as i am not able to fix it. It would be great helpful, if you do so.
@thenikhilk Any update?
Hi, i've installed the spkkg from the repository but it still shows version 1.0.1.0, when will version 1.0.2 be available?
Please try out this version, it should work: thenikhilk-sp-ig-feed.zip
The thing is even though I do acknowledge the issue exists, it has never been a repro in any of the environments I've used, but I have seen it repro in my sync up with @thijsvgils . SO it becomes hard debug it.
I've installed version 1.0.3, now the app shows 3 blank grey squares so no content from Instagram, when i inspect the webpart in chrome, it says "not-logged-in client-root"
@BennyD-Savaco could you provide me some additional debugging info by
@thenikhilk FYI I'm a colleague of BennyD-Savaco The problem were having is that the webparts keeps sending requests. It looks like we are in an endless loop of requests: We are always getting a response(statuscode 200) and the webpage is returned: But we keep seeing the tree grey squares.
Your analysis is correct, it is doing so to try out different proxy servers if one doesn't work. But if all fail for a long duration there is really nothing else i can do other that use access tokens. These proxies are what empower this web part
Describe the bug Error occurs after adding the webpart to the page. Changing username to other public profiles and own doesnt resolve it
Console: