PHPackages                             newscoop/instagram-plugin-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. newscoop/instagram-plugin-bundle

ActiveNewscoop-plugin[Utility &amp; Helpers](/categories/utility)

newscoop/instagram-plugin-bundle
================================

Instagram plugin for Newscoop

1201PHP

Since Oct 28Pushed 11y ago14 watchersCompare

[ Source](https://github.com/newscoop/NewscoopInstagramPlugin)[ Packagist](https://packagist.org/packages/newscoop/instagram-plugin-bundle)[ RSS](/packages/newscoop-instagram-plugin-bundle/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

NewscoopInstagramPluginBundle
=============================

[](#newscoopinstagrampluginbundle)

This Newscoop Plugin adds smarty functions and Admin tools to enable you to ingest, manage, and display Instagram photos in Newscoop.

Install instructions for Newscoop v4.3 on OSX with MAMP
-------------------------------------------------------

[](#install-instructions-for-newscoop-v43-on-osx-with-mamp)

1. php application/console plugin:install newscoop/instagram-plugin-bundle
2. Edit the newscoop/application/configs/parameters/custom\_parameters.yml file (or create it if it does not exist) and add the following text:

```
parameters:
    instagram_bundle:
        client_id: "your client id"
        client_secret: "your client secret"
        baseurl: "https://api.instagram.com/v1/"
        max_count: 500

```

3. Run the following command to ingest the initial 500 photos from Instagram:

```
php application/console instagram_photos:ingest lennonwall

```

Update instructions for Newscoop v4.3 on OSX with MAMP
------------------------------------------------------

[](#update-instructions-for-newscoop-v43-on-osx-with-mamp)

1. php application/console plugin:remove newscoop/instagram-plugin-bundle
2. follow steps for manual install above

Instagram Photo View
--------------------

[](#instagram-photo-view)

Provides endpoint, **/instagram/photos/{id}** for viewing single instagram photos cached locally. Loads template **Resources/views/Instagram/instagram\_photo.tpl** or **\_views/instagram\_photo.tpl** if it exists in the loaded theme.

Usage:

```

Id: {{ $instagramPhoto->getId() }}
Link: {{ $instagramPhoto->getLink() }}
Caption: {{ $instagramPhoto->getCaption() }}
Tags: {{ $instagramPhoto->getTags() }}
Created by Instagram User: {{ $instagramPhoto->getInstagramUserName() }}
Created on: {{ $instagramPhoto->getCreatedAt()|date_format:"Y-m-d" }}
```

Instagram Photos Search
-----------------------

[](#instagram-photos-search)

Note that this only searches the locally stored InstagramPhoto entities, it does NOT make a call to the Instagram Api

Provides endpoint **/instagram/photosearch**, which takes the following params:

1. search - search string, matches against caption, username, tags, and locationName fields
2. perPage - number of records per page to send in the results
3. offset - the first record to start with (used for pagination)

Results are delivered to **\_views/instagram\_search\_results.tpl**, if defined in your theme, or a default internal view is used.

Usage:

```

   Previous
   found {{ $instagramPhotoCount }} results
   Next

{{ foreach $instagramPhotos as $photo }}

                    Posted By: {{ $photo->getInstagramUserName() }}
                    On: {{ $photo->getCreatedAt()|date_format:"Y-m-d" }}

                    {{ $photo->getCaption() }}

{{ /foreach }}

```

Instagram List Photos Smarty Block
----------------------------------

[](#instagram-list-photos-smarty-block)

Provides a smarty block to list instagrams photos with a specfific hashtag.

Usage:

```
{{ list_instagram_photos tag='lennonwall'  length=30 }}
  {{ $photoIndex }}
  {{ $photo->getCaption() }}
  {{ $photo->getCreatedAt() }}
  {{ $photo->getId() }}
  {{ $photo->getInstagramUserName() }}
  {{ $photo->getTags() }}
  {{ $photo->getLocationName() }}
  {{ $photo->getLocationLatitude() }}
  {{ $photo->getLocationLingitude() }}
  {{ $photo->getLink() }}

  {{ $photo->getThumbnailUrl() }}
  {{ $photo->getThumbnailWidth() }}
  {{ $photo->getThumbnailHeight() }}

  {{ $photo->getStandardResolutionUrl() }}
  {{ $photo->getStandardResolutionWidth() }}
  {{ $photo->getStandardResolutionThumbnailHeight() }}

  {{ $photo->getLowResolutionUrl() }}
  {{ $photo->getLowResolutionWidth() }}
  {{ $photo->getLowResolutionHeight() }}

{{ /list_instagram_photos }}
```

Instagram Photo Ingest Console Command
--------------------------------------

[](#instagram-photo-ingest-console-command)

Usage:

```
php application/console instagram_photos:ingest lennonwall

```

where **lennonwall** is the instagram hashtag that you wish to import from

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/259cf09fe93a346f3d69381ecdb79261caa3238bf58c1e61eeda22c25bef6e8f?d=identicon)[newscoop](/maintainers/newscoop)

![](https://www.gravatar.com/avatar/e34a04d07c1dde99979238988e51e5a81878e429d940b94d2ff33301d0db1e36?d=identicon)[thnkloud9](/maintainers/thnkloud9)

---

Top Contributors

[![thnkloud9](https://avatars.githubusercontent.com/u/1511745?v=4)](https://github.com/thnkloud9 "thnkloud9 (33 commits)")

### Embed Badge

![Health badge](/badges/newscoop-instagram-plugin-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/newscoop-instagram-plugin-bundle/health.svg)](https://phpackages.com/packages/newscoop-instagram-plugin-bundle)
```

###  Alternatives

[spiral/mcp-server

Spiral bridge for MCP server

541.1k2](/packages/spiral-mcp-server)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
