Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8873535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T18:29:21+00:00 2026-06-14T18:29:21+00:00

I have downloaded the Facebook SDK from: https://github.com/pythonforfacebook/facebook-sdk/ In my Python install folder, I

  • 0

I have downloaded the Facebook SDK from:

https://github.com/pythonforfacebook/facebook-sdk/

In my Python install folder, I created a folder called fb and extracted the files from GitHub into this folder. I then ran:

setup.py install

To install the module. However, when I try and run

from facebook import Facebook

in the Python Shell I get the following:

>>> from facebook import Facebook

Traceback (most recent call last):
File pyshell#0, line 1, in
from facebook import Facebook
ImportError: cannot import name Facebook

However when I simply write from facebook import *, I receive no errors.

What step haven’t I taken to get this working correctly? Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T18:29:22+00:00Added an answer on June 14, 2026 at 6:29 pm

    It looks like you’re doing everything correctly – your problem is that there isn’t a Facebook object inside of the facebook module (see the code here). The reason the * import works is because that is the syntax to import all names. From your code, you should be able to simply use facebook.<your_method> to call what you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have problem with fb sdk for Android (downloaded from http://github.com/facebook/facebook-android-sdk ). Tried to
I use XCode 4.5 I downloaded the SDK 3.1.1 from https://github.com/downloads/facebook/facebook-ios-sdk/FacebookSDK-3.1.1.pkg and then I
I have downloaded php-sdk for using facebook in php. I also created facebook application
I have downloaded facebook-java-api-3.0.2-bin from http://code.google.com/p/facebook-java-api/ for connecting to face book.I want to use
I have downloaded the two releases of python 2.6.8 from here http://www.python.org/getit/releases/2.6.8/ and I
I have downloaded both samples for the Facebook Developer Kit from Codeplex and Facebook.NET
I have downloaded an example of Facebook Application using PHP sdk, and it is
I have downloaded Prabir's application ASP.NET MVC Canvas App using Facebook C# SDK showing
I have downloaded the facebook android sdk and integrated to my app as mentioned
i have download code from http://svn.facebook.com/svnroot/platform/clients/packages/fbconnect-iphone.zip and i done all the thing according to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.