Instagram Real Time Block
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
Instagram Real-Time Block
=================
Display real-time media updates in a block.
The module uses a websocket to push updates to connected clients.
Notice that you need to run a websocket server for this to work.
The block will display random media from all users who has
accepted the application by clicking on the "Login" button at the top of the block.
Notice that media will be syncronized during each cron run.
Requirements
============
This module requires that the following modules are enabled:
- Block
Installation
============
- Download the module and place it somewhere under the `sites/all/modules` directory.
- Install the needed packages, preferably using composer by standing in the modules directory and execute `composer install`.
- Install the necessary node modules by executing `npm install` from the js folder.
- Enable the module.
Configuration
============
- Go to the configuration page located at `admin/config/media/instagram_real_time_block`.
- Add your client_id, client_secret and the redirect url for your application.
- The redirect_url must be setup to goto http://yourdomain.com/instagram-real-time-block/api/authorize
- Enable the "Instagram Real Time Block" under `admin/structure/blocks`.
- Add the ip/adress and port for the websocket server.
- Start the websocket server by executing `node js/server.js [-p port]*`.
*The -p 1234 is optional, the default port is 8080.
