Skip to content

An unofficial Imgur photo-sharing application created with Ionic Framework and Apache Cordova

Notifications You must be signed in to change notification settings

nraboy/ionic-imgur-app

Repository files navigation

Unofficial Imgur App

An unofficial Imgur application created using Ionic Framework and Apache Cordova. This application is compatible with Android and iOS and makes use of the Imgur RESTful APIs and ngCordova AngularJS extension set.

Requirements

Configuration

Download this example project from GitHub and run the following commands:

$ ionic platform add android
$ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git
$ cordova plugin add org.apache.cordova.camera

The above commands will add the Android build platform and install the required Apache InAppBrowser plugin.

This application requires you to have your own Imgur application registered with imgur.com. Doing so will give you a unique client id that can be included into your project. When registering your application with Facebook, make sure to set the callback uri to http://localhost/callback, otherwise ngCordova will not function.

With the client id in hand, open www/js/app.js and find the following line:

$cordovaOauth.imgur("CLIENT_ID_HERE")

You will want to replace CLIENT_ID_HERE with the official key.

Usage

With this example project configured on your computer, run the following from the Terminal or command prompt:

$ ionic build android

Install the application binary to your device or simulator.

Have a question or found a bug (compliments work too)?

Tweet me on Twitter - @nraboy

Resources

Imgur - http://www.imgur.com

Ionic Framework - http://www.ionicframework.com

AngularJS - http://www.angularjs.org

Apache Cordova - http://cordova.apache.org

ngCordova - http://www.ngcordova.com

About

An unofficial Imgur photo-sharing application created with Ionic Framework and Apache Cordova

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published