GithubHelp home page GithubHelp logo

fbphotos's People

Contributors

therealcisse avatar

Stargazers

 avatar

Watchers

 avatar  avatar

fbphotos's Issues

Todo List:

Todo list:

  • Facebook login

Facebook login is done. Since the user_photos permission has to be reviewed by facebook, you will need to use with your own facebook app and account.

  • List albums

Not yet.

  • List photos

First <=1000 photos are displayed in a grid. When you select a photo, you are asked if you want to upload it. Uploads happen in the background, so you can select multiple photos.

Deselecting a selected photo will either cancel the upload or delete it.

  • Pagination

Not yet.

  • Upload photos to Amazon S3

Uploads are sent to my Amazon S3 storage bucket using Cognito unauthenticated identity. So no more config necessary.

However if your have your own pool id, then:

In iosPhotosInfo.plist, replace my pool id with yours under S3IdentityPoolId. Other config such as region are in iosPhotosAppDelegate.m.

  • Notify when Photo is uploaded

During upload iOS activity indicator will be shown.

  • Log out

Click Back from anywhere to log out.

How to run

Steps to run:

Install react-native (https://facebook.github.io/react-native/docs/getting-started.html)

Install nodejs:

If you have Homebrew, just run:

brew install node

Otherwise, visit https://nodejs.org/en/

Install react-native command line tools:

npm install -g react-native-cli

Setup Facebook SDK

Install Facebook IOS SDK and create a facebook app.

Visit https://developers.facebook.com/docs/ios/getting-started

Here are some information about this app:

Bundle Identifier: me.amadoucisse.app.photos

Make sure to put Facebook IOS SDK in ~/Documents/FacebookSDK.

Setup facebook app

In iosPhotosInfo.plist, replace {facebook-app-id} with your Facebook App ID.

Install dependencies

npm install

Run app

react-native run-ios

Or, if you have Xcode installed:

Open iosPhotosPhotos.xcodeproj and Run from there.

The minimum iOS version required is 8.0.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.