Comments (12)
Hi @shakee93,
Im trying to get data using the following code;
> var express = require('express');
var app = express();
var fonoapi = require('./node_modules/fonoapi-nodejs');
fonoapi.token = '5051049096968bd19fd89e0d8a6aecd96817453df6134dc4';
fonoapi.getLatest(myCallback, 5, 'apple');
function myCallback(queryString, data) {
console.log(data);
}
app.listen(process.env.PORT, process.env.IP, function() {
console.log("web server starting...");
});
Resulting in the following Error:
{ status: 'error',
message: 'Invalid or Blocked Token. Generate a Token at fonoapi.freshpixl.com',
innerException: null }
Any ideas about what the problem could be?
from fonoapi.
The api is partially offline, any generated tokens are unusable
from fonoapi.
Even old tokens are unusable. I tried mailing the webmaster, but the mail address became invalid this day (23/01/2019)
from fonoapi.
That's unfortunate, thanks for the update.
from fonoapi.
Same problem...
from fonoapi.
ey, @shakee93 could you provide an update?
from fonoapi.
Sorry for the inconvenience !! server was due to higher resource usage.. ill be moving the service to another serve, will be backup soon !
from fonoapi.
good to know! thank you for the update @shakee93 !
from fonoapi.
This issue should be closed as tokens are now working.
from fonoapi.
still not working
{
"status": "error",
"message": "Invalid or Blocked Token. Generate a Token at fonoapi.freshpixl.com",
"innerException": null
}
from fonoapi.
I have the same problem and get ""Invalid or Blocked Token".
Any help on if I am doing something wrong would be appeciated, see below for details.
-
I started with generating a token from https://fonoapi.freshpixl.com/token/generate :
Successfully Acquired your Api Token
a054a4e98f1c8ad85adecb931a7ea83b6711b74cf991967c -
Then I use the retrieved token as follows (I tried multiple tokens with the same result):
C:>curl https://fonoapi.freshpixl.com/v1/getdevice -XPOST -H 'Accept: application/json' -d 'token=a054a4e98f1c8ad85adecb931a7ea83b6711b74cf991967c&limit=5&device=A8'
{"status":"error","message":"Invalid or Blocked Token. Generate a Token at fonoapi.freshpixl.com","innerException":null}curl: (6) Could not resolve host: application
'limit' is not recognized as an internal or external command,
operable program or batch file.
'device' is not recognized as an internal or external command,
operable program or batch file.
from fonoapi.
Adding to my previous comment that I get the same result reagredless if I use a space or not in-between -XPOST, i.e.:
C:>curl https://fonoapi.freshpixl.com/v1/getdevice -XPOST ...
vs
C:>curl https://fonoapi.freshpixl.com/v1/getdevice -X POST ...
from fonoapi.
Related Issues (20)
- Database maintenance HOT 2
- Invalid or Blocked Token. Generate a Token at fonoapi.freshpixl.com HOT 1
- Samsung s7 data HOT 1
- API Not responding and Account suspended HOT 1
- Xiaomi Mi A2 Lite
- Created a Dart client library HOT 2
- couldn't install via composer HOT 1
- mobile image not found?
- Remove `device` mandatory from the api query HOT 1
- Device Name HOT 1
- Get price of the phones HOT 2
- Is this project alive? HOT 9
- Is a dump of the current db available? HOT 1
- The api is timing out HOT 2
- API calls timing out HOT 6
- When we can expect the database to be back? HOT 15
- Hi,we have an api which is similar to fonoapi HOT 5
- API still non-responsive HOT 1
- [New] Official TechSpecs API
- [New] Free REST API to retrieve device information (WURFL)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fonoapi.