javascript - Hello.js - getting Flickr album and authorising failed -


I am currently using Hello.js to establish a connection with Flickr and get photo albums from there; However, the response I received through error object is "User Not Found" . I'm not completely sure what I'm missing out here:

  hello.init (CLIENT_IDS_ALL, {scope: "files, photos", redirect_ory: "/ dashboard", oauth_proxy: OAUTH_PROXY_URL }); Function getAlbums (network) {hello (network). Login ({force: true}, function (auth) {hello.api (network + ': m / album', function (r) {if (! R || r.error) {// caught here: "user Not found "message (list," error: "+ r.error.message); return;} and if (! R.data || r.data.length === 0) {message (list," this user's There are no albums in the account. "); Return}})}}; }  

I have checked the configuration for the Flickr API and it's all good: the key is correct and the app is enabled for public use. Here are my app's API call statistics, apparently no user is certified:

  Number of certified users: 0 Total calls in the last hour: 0 Total calls in the last 24 hours : 5  

What are the possible mistakes I've made? The same code uses Facebook authentication and to retrieve photos, but it works fine, so it's probably not such a code.

I think your initial problem is that a secret key is required for authentication in Flickr, and hello.js takes advantage of a service for it. You can use it by default.

Hello.api requests can handle the body of a closing point and data (with varying degree of success) with standardized final points, there is no complete list of it, after which all It is enough to configure, so hello for your shortcomings. Forgive J and do some other developers and do PR with extra :)


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -