Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add PHP implementation #21

Closed
mapsam opened this issue Nov 26, 2014 · 0 comments
Closed

add PHP implementation #21

mapsam opened this issue Nov 26, 2014 · 0 comments
Milestone

Comments

@mapsam
Copy link
Contributor

mapsam commented Nov 26, 2014

Should add an example directory for a PHP (server side) implementation of this library since we use it on WordPress frequently enough. Doesn't need to be config heavy, but could take in some general parameters to build accordingly. Essentially, this would really only need to be a CURL call and a config file to set up for a cron job situation instead of calling the API via javascript. Then the instagram-grid.js will run accordingly, making the ajax() call to a local.

Files needed:

  1. config.php for setting up the library and instagram calls with API credentials
  2. loop.php would build the data and set in a local directory
  3. build in a parameter for instagram-grid.js that sets the local path to file instead of calling the instagram library (assuming your PHP has built the json appropriately. Should build the rest accordingly since the json specification will match.
@mapsam mapsam added this to the 0.0.6 milestone Nov 26, 2014
@mapsam mapsam closed this as completed Nov 26, 2014
@mapsam mapsam mentioned this issue Nov 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant