phpFlickr authentication to access private photos flickr

phpFlickr authentication to access private photos 1:https://github.com/jrtilson/phpflickr/tree/master/token download index.php & auth.php or my demo 2:edit index.php 2-1 mark: //$f->auth($_SESSION[‘perms’]); //會造成迴圈 //$token = $f->auth_checkToken($_SESSION[‘phpFlickr_auth_token’]); //無用 !!important!! token usually is ok~ and phpFlickr check token is broken. This can check token https://www.flickr.com/services/api/explore/flickr.auth.checkToken 2-2 change: echo “” . $_SESSION[‘phpFlickr_auth_token’][_content] . “”; //要補上[_content] 3:call back URL set THIS FILE:**http://xxxxoooo.com/**auth.php IF not sure, just index.php when you not login. index.php have Set the callback url to: xxxxxxoooooo ...

2015-09-21 · 1 min · 150 words · Me

IF sails.js + (ng-admin and Angular Schema Form < sails.js-Model.Validations.json ) perfacet !!!

Why is perfacet~~ Because ONLY write one time validations then RESTFUL API can use. Front Angular Form can use. So maybe sails.js have output Model Validations JSON or write use jsonschema (A fast and easy to use JSON Schema validator)

2015-09-19 · 1 min · 40 words · Me

JSON Schema

http://json-schema.org/ http://jsonschema.net/#/ https://www.npmjs.com/package/jsonschema

2015-09-19 · 1 min · 3 words · Me

Angular Schema Form

use JSON Schema + Form definition (condition) http://schemaform.io/ https://github.com/Textalk/angular-schema-form

2015-09-19 · 1 min · 9 words · Me

seedjs = sails.js + ember.js +

This is same sails + ng-admin but different is ng-admin have gui. This is good idea for sails.js RESTFUL.

2015-09-19 · 1 min · 19 words · Me