Giter Site home page Giter Site logo

Comments (3)

sciyoshi avatar sciyoshi commented on June 9, 2024

which commit specifically, and what error are you seeing?

from pyfacebook.

 avatar commented on June 9, 2024

The commit is the latest:

commit 01c28cd
Author: Samuel Cormier-Iijima <sciyoshi@yoshp-vm.(none)>
Date: Thu Dec 24 19:17:36 2009 -0600

    add option to override locale, thanks Markus Törnqvist

The error is the following:
$ python examples.py
Traceback (most recent call last):
File "examples.py", line 108, in
desktop_app()
File "examples.py", line 80, in desktop_app
facebook.auth.createToken()
File "../../init.py", line 679, in createToken
token = self._client('%s.createToken' % self._name)
File "../../init.py", line 1103, in call
if not args.has_key('locale'):
AttributeError: 'NoneType' object has no attribute 'has_key'

Python version: Python 2.5.4 (r254:67916, Nov 19 2009, 19:46:21) [GCC 4.3.4] on linux2

Note: I haven't installed pyfacebook. Just downloaded the source, and put example.py in the same directory (after changing the from ... import ) statement.

from pyfacebook.

sciyoshi avatar sciyoshi commented on June 9, 2024

thanks for reporting the issue, should be fixed in latest commit.

from pyfacebook.

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.