Coder Social home page Coder Social logo

fb-zombie's People

Contributors

gepolv avatar lvairbnb avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

m41w4r3exe

fb-zombie's Issues

randomenames.txt required to exist in root dir

(I removed my appid and apptoken)

This runs into an error opening randomnames.txt and requires it to exist in the root directory.

FBZombie = require('fb-zombie');

fbUsers = new FBZombie('appid','apptoken');

fbUsers.ls(function(error,users) {
  console.log(users);
});

Facing issue after running node test

I am new to node development. i want to create 2000 test users at once, I set up all configuration, but when I am running npm test seeing following errors:

**[email protected] test /Users/bhumeshwerkatre/node_modules/fb-zombie

mocha --reporter spec --timeout 60000 ./test/test.js

Testing for Facebook test user managing
Constructor testing
FBUSER is: [object Object]
✓ constructor with appid and access_token
✓ constructor without aped
✓ constructor without access_token
List test users testing
1) Calling ls correctly
✓ Calling ls without callback specified
Creating test users testing
2) testing createOne
3) testing create
Deleting test users testing
4) testing delete
Testing makeFriends
5) testing makeFriends

4 passing (1s)
5 failing

  1. Testing for Facebook test user managing List test users testing Calling ls correctly:
    Uncaught TypeError: Cannot read property 'length' of undefined
    at test/test.js:45:19
    at fb-zombie.js:61:11
    at IncomingMessage. (fb-zombie.js:24:11)
    at endReadableNT (_stream_readable.js:905:12)

  2. Testing for Facebook test user managing Creating test users testing testing createOne:
    Error: Failed to create test user: Test+User+FB
    at fb-zombie.js:84:17
    at IncomingMessage. (fb-zombie.js:24:11)
    at endReadableNT (_stream_readable.js:905:12)

  3. Testing for Facebook test user managing Creating test users testing testing create:
    Uncaught SyntaxError: Unexpected token <
    at Object.parse (native)
    at fb-zombie.js:129:34
    at IncomingMessage. (fb-zombie.js:24:11)
    at endReadableNT (_stream_readable.js:905:12)

  4. Testing for Facebook test user managing Deleting test users testing testing delete:
    Uncaught SyntaxError: Unexpected token <
    at Object.parse (native)
    at fb-zombie.js:129:34
    at IncomingMessage. (fb-zombie.js:24:11)
    at endReadableNT (_stream_readable.js:905:12)

  5. Testing for Facebook test user managing Testing makeFriends testing makeFriends:
    Uncaught SyntaxError: Unexpected token <
    at Object.parse (native)
    at fb-zombie.js:129:34
    at IncomingMessage. (fb-zombie.js:24:11)
    at endReadableNT (_stream_readable.js:905:12)**

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.