Giter Site home page Giter Site logo

Comments (8)

jpacora avatar jpacora commented on June 13, 2024

The same here

from facebook-chat-api.

Schmavery avatar Schmavery commented on June 13, 2024

Can you print out the contents of ret right before line 801 of index.html?
It looks like the api is having trouble generating a graph access token, unfortunately I don't get this problem on our test account.

You could also see if it's possible for you to log into the account you're using and access this URL: https://developers.facebook.com/tools/explorer/145634995501895/?method=GET&path=me%3Ffields%3Did%2Cname&version=v2.3

from facebook-chat-api.

blazeu avatar blazeu commented on June 13, 2024

here's ret

{ __ar: 1,
  payload: null,
  jsmods: 
   { require: 
      [ [ 'Cookie',
          'setIfFirstPartyContext',
          [ [length]: 0 ],
          [ '_js_datr',
            'ycxRVSRRbi3N2ZVc9lYSmISs',
            1494496201000,
            '/',
            '.facebook.com',
            false,
            [length]: 6 ],
          [length]: 4 ],
        [ 'ServerRedirect',
          'redirectPageTo',
          [ [length]: 0 ],
          [ 'https://www.facebook.com/connect/login_success.html#access_token=ACCESS_TOKEN_HERE&expires_in=4199',
            true,
            [length]: 2 ],
          [length]: 4 ],
        [length]: 2 ] },
  js: [ 'UMpUI', [length]: 1 ],
  bootloadable: {},
  resource_map: 
   { UMpUI: 
      { type: 'js',
        src: 'https://fbstatic-a.akamaihd.net/rsrc.php/v2/yQ/r/wInu57m6uFQ.js' } },
  ixData: {},
  lid: '0' }

it seems like it should be getting ret.jsmods.require[1][3][0]
instead of ret.jsmods.require[0][3][0] on line 801

i think the best solution to fix this is by using try and catch block, since your test account doesn't have this problem
i can make pull request if you want

sorry for the opening and closing, i accidentally clicked the wrong button lol

from facebook-chat-api.

Tankenstein avatar Tankenstein commented on June 13, 2024

Same problem here.

from facebook-chat-api.

Schmavery avatar Schmavery commented on June 13, 2024

Thanks for the info guys, I think I'll be able to push a fix within an hour or two.

from facebook-chat-api.

Schmavery avatar Schmavery commented on June 13, 2024

OK I published a fix to version 0.1.10.
Does this fix the problem for anyone?

from facebook-chat-api.

Tankenstein avatar Tankenstein commented on June 13, 2024

Yes! fixed for me.

from facebook-chat-api.

blazeu avatar blazeu commented on June 13, 2024

fixed.

from facebook-chat-api.

Related Issues (20)

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.