therealcisse / fbphotos Goto Github PK
View Code? Open in Web Editor NEWUpload your facebook photos to Amazon S3
Upload your facebook photos to Amazon S3
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.
Not yet.
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.
Not yet.
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 ios
➜ Photos
➜ Info.plist
, replace my pool id with yours under S3IdentityPoolId
. Other config such as region are in ios
➜ Photos
➜ AppDelegate.m
.
During upload iOS activity indicator will be shown.
Click Back
from anywhere to log out.
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
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
.
In ios
➜ Photos
➜ Info.plist
, replace {facebook-app-id}
with your Facebook App ID.
npm install
react-native run-ios
Or, if you have Xcode installed:
Open ios
➜ Photos
➜ Photos.xcodeproj
and Run from there.
The minimum iOS version required is 8.0
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.