You are here

INSTALL.txt in Drupagram 7

Same filename and directory in other branches
  1. 6 INSTALL.txt
Dependencies
============

Make sure you download the oAuth module (http://drupal.org/project/oauth) and
enable the oauth_common module.

The Drupagram module comes with a couple of pre-made views so although it is not
a dependency, it is a good idea to turn on the views and views_ui module.

The images are fetched on cron runs. Although you can manually trigger cron, in
order to maximize your experience with this app it is recommended that you setup
cron correctly.

Enabling the module
===================

Once you have taken care of the dependencies above, enable the drupagram module.
You should get a nice confirmation message with instructions on where to go to
fill out the variables required to connect to Instagram API.

After enabling the module, a message will direct you to 
http://instagram.com/developer/clients/manage/ where you need to register your
application.

Notice that the callback URL MUST be http://YOUR-SITE-NAME/instagram/oauth

When you're done, copy the Instagram Client ID and Instagram Client Secret keys
over to the Drupal site and hit the Save configuration button.

How to add an Instagram account to a Drupal user account
========================================================

If all the steps above were successful you should now be able to go in and edit
any username and link an Instagr.am account to it.

If you are the site admin or a user with the "add instagram accounts" permission
you should be able to edit a user. Go to /user, notice you should be able to see
an Edit and an Instagram tab.

Click on the Edit tab and then choose the Instagram accounts sub tab.

Hit the Add account button. You will be taken to an Instagr.am authorization 
page. Enter your credentials and proceed to authorize the Drupal application.

You will then be redirected to the site and your Instagram profile information
should be listed. Hit the Save changes and you're done.

When cron runs, it will fetch any new pictures you have posted from the linked
account.

File

INSTALL.txt
View source
  1. Dependencies
  2. ============
  3. Make sure you download the oAuth module (http://drupal.org/project/oauth) and
  4. enable the oauth_common module.
  5. The Drupagram module comes with a couple of pre-made views so although it is not
  6. a dependency, it is a good idea to turn on the views and views_ui module.
  7. The images are fetched on cron runs. Although you can manually trigger cron, in
  8. order to maximize your experience with this app it is recommended that you setup
  9. cron correctly.
  10. Enabling the module
  11. ===================
  12. Once you have taken care of the dependencies above, enable the drupagram module.
  13. You should get a nice confirmation message with instructions on where to go to
  14. fill out the variables required to connect to Instagram API.
  15. After enabling the module, a message will direct you to
  16. http://instagram.com/developer/clients/manage/ where you need to register your
  17. application.
  18. Notice that the callback URL MUST be http://YOUR-SITE-NAME/instagram/oauth
  19. When you're done, copy the Instagram Client ID and Instagram Client Secret keys
  20. over to the Drupal site and hit the Save configuration button.
  21. How to add an Instagram account to a Drupal user account
  22. ========================================================
  23. If all the steps above were successful you should now be able to go in and edit
  24. any username and link an Instagr.am account to it.
  25. If you are the site admin or a user with the "add instagram accounts" permission
  26. you should be able to edit a user. Go to /user, notice you should be able to see
  27. an Edit and an Instagram tab.
  28. Click on the Edit tab and then choose the Instagram accounts sub tab.
  29. Hit the Add account button. You will be taken to an Instagr.am authorization
  30. page. Enter your credentials and proceed to authorize the Drupal application.
  31. You will then be redirected to the site and your Instagram profile information
  32. should be listed. Hit the Save changes and you're done.
  33. When cron runs, it will fetch any new pictures you have posted from the linked
  34. account.