Code Monkey home page Code Monkey logo

thenikhilk / sharepoint-instagram-feed Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 16.0 6.91 MB

This web part enables Office 365 SharePoint users to embed Instagram feeds from any public Instagram account to SharePoint pages seamlessly with NO NEED for registering any ACCESS_KEY, TOKEN or client applications.

Home Page: https://thenikhilk.com/2019/10/26/tnk-sp-ig/

License: MIT License

JavaScript 5.90% TypeScript 84.24% CSS 9.86%
sharepoint webpart react office-ui-fabric instagram typescript spfx sharepoint-framework sharepoint-online image-gallery

sharepoint-instagram-feed's Introduction

SharePoint Instagram feed Web Part

Build Status Release Status Gitter

Logo

This web part enables Office 365 SharePoint users to embed Instagram feeds from any public Instagram account to SharePoint pages seamlessly with NO NEED for registering any ACCESS_KEY, TOKEN or client applications.

Documentation

Demo

Demo

License

MIT

sharepoint-instagram-feed's People

Contributors

thenikhilk avatar

Stargazers

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

Watchers

 avatar

sharepoint-instagram-feed's Issues

Update installation instructions

Currently, the installation instructions go straight from adding the .sppkg file to the SharePoint to adding it to a page. There's nothing about creating the intermediate app.

Failed to load data

Describe the bug
Error occurs after adding the webpart to the page. Changing username to other public profiles and own doesnt resolve it

An error occurred - Failed to load data, please check WebPart settings or try again later.

Bildschirmfoto 2019-11-07 um 11 28 10

Console:
Bildschirmfoto 2019-11-07 um 12 06 15

CDN error

First of all, great work!

My issue: I'm able to add the app to the app catalog, but when adding the webpart to the page I get the following error:

[SPLoaderError.loadComponentError]:
Failed to load component "ed33f1de-aa1c-4e68-bb4e-bc4835f865ea" (InstagramFeedWebPart). Original error: Failed to load URL 'https://cdn.jsdelivr.net/gh/thenikhilk/cdn/tnk-sp-ig/s-instagramfeedwebpartstrings_en-us_4e9dfa86b94ddc3714c06cec6512bffe.js' for resource 'InstagramFeedWebPartStrings' in component 'ed33f1de-aa1c-4e68-bb4e-bc4835f865ea' (InstagramFeedWebPart). The file was not found in the server.

How do I ensure the CDN repo is accessible to SharePoint? I'm guessing that's the problem...

Thanks in advance!

I am getting hidden instagram images

I used the last .sppkg file and I followed all written steps. But the posts of Instagram are not shown for me-hidden- as you can see in the following link: . How to solve this issue?
I need to use it in my modern site as soon as possible
To use this resource from a different origin, the server may relax the cross-origin resource policy response header:
Cross-Origin-Resource-Policy: same-siteChoose this option if the resource and the document are served from the same site.
Cross-Origin-Resource-Policy: cross-originOnly choose this option if an arbitrary website including this resource does not impose a security risk.
Learn more in the issues tab

how to display only latest post?

Hi Nikhil, thank you for sharing your solution. I need to display only one post, the latest one. How I can achieve that. Thanks.

Guest Users

Guest users are unable to see the feed?

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

embed Instagram

How to add the Instagram web part to the SharePoint modern page?

Any webparts inserted below the Instagram Feed is hidden

Describe the bug
Any webparts inserted below the Instagram Feed is hidden.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a Site and in a page, add the Instagram Feed webpart
  2. Afterward, right below the inserted webpart in the same section, add any webparts.
  3. See error: Instagram Feed is only visible and all others one inserted below is just hidden/disappeared

Expected behavior
Additionally inserted webparts below Instagram Feed won't appear

Screenshots
Before
image

After Republishing with additional webparts
image

Desktop (please complete the following information):

  • OS: Window
  • Browser [e.g. chrome, safari] Google Chrome
  • Version [e.g. 22]: Version 86.0.4240.111 (Official Build) (64-bit)

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]: NA
  • OS: [e.g. iOS8.1]: NA
  • Browser [e.g. stock browser, safari]: CHrome
  • Version [e.g. 22]: NA

Additional context
No additional context. Feel free to ask me any questions for anything however.

Any reason why I still get this with the latest iteration of this web part?

image

Describe the bug
I have downloaded and compiled the latest version

To Reproduce
Steps to reproduce the behavior:
download the latest version, gulp it and serve it

Expected behavior
This used to be a very straight forward web part but now it does not display the images.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
Windows 10 and in the previous dev environment

Thanks for any assistance with this issue.

Showing only 10 feeds

Hi,

I have installed the .sppkg file from the release and added to our site but it is always showing only feeds. Is there any way so we can show all the Instagram feeds?

Thanks

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.