oui/oui_instagram

Instagram user infos and recent images embedding plugin for Textpattern CMS

1.1.0-beta 2017-05-28 06:05 UTC

This package is not auto-updated.

Last update: 2024-04-19 21:29:55 UTC


README

Easily display Instagram recent images galleries.

Plugin requirements

Installation

From the admin interface

  1. Download the compiled plugin file or the source to compile a customized file.
  2. Paste the content of the compiled plugin file under the "Admin > Plugins":?event=plugin tab and click the Upload button.
  3. Confirm the plugin install by clicking the Install button on the plugin preview page.
  4. Enable the plugin and click Options or visit your Admin > Preferences tab to fill the plugin prefs.

Via Composer

After installing Composer

  1. Target your project directory: $ cd /path/to/your/textpattern/installation/dir
  2. If it's not already done, lock your version of Txp: $ composer require textpattern/lock:4.6.2, where 4.6.2 is the Txp version in use.
  3. Install oui_instagram: $ composer require oui/oui_instagram
  4. Connect to the Txp admin interface and click Options or visit your Admin > Preferences tab to fill the plugin prefs.

Documentation

Check the embedded Help file for more informations.

Examples

Single tag use

// Instagram username as a link to the related account.
<txp:oui_insta_user />

// List of recent Instagram images linked to their related Instagram pages.
<txp:oui_insta_images />

Container tag use

// Instagram avatar as a link to the related account.
<txp:oui_insta_user>
    <txp:oui_insta_user_info type="avatar" link="Instagram" />
<txp:oui_insta_user>

// List of recent Instagram images linked to their related Instagram pages.
// Each image is folowed by its caption, its author and its post date.
<txp:oui_insta_images>
    <txp:oui_insta_image_url><txp:oui_insta_image /></txp:oui_insta_image_url>
    <txp:oui_insta_image_info />
    <txp:oui_insta_image_author />, <txp:oui_insta_image_date />
</txp:oui_insta_images>

Author

Nicolas Morand Thank you to the Textpattern community and the core team.

License

This plugin is distributed under GPLv2.