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

  • Home
  • SEARCH
  • 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 6065945
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:26:53+00:00 2026-05-23T09:26:53+00:00

I am writing a Chrome extension using FB apis but this simple code: <script

  • 0

I am writing a Chrome extension using FB apis but this simple code:

<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script>
<script type="text/javascript">

    function login() 
    {
        FB.login(handleLogin);
    }

    function handleLogin(response) 
    {
        //if a user fails to log in...
        if (!response.session) 
        {
        document.write('Failed');
            return;
        }

        //searching users by the name of mike
        //FB.api("/search?q=mike&fields=name,picture&type=user", handleSearch);
    }

    //the API key of the application, change it to yours
    FB.init({ apiKey: 'c4a22dc0e8dc317cd80618bb9556e34d' });
</script>

won’t be executed with the error

API Error Code: 191 API Error
Description: The specified URL is not
owned by the application Error
Message: redirect_uri is not owned by
the application.

I don’t have a website nor I’m trying to link facebook to a website, I just want to create a chrome extension for my friends to use (like a little widget which would display contacts news)

Any idea on how to solve this?

  • 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-05-23T09:26:53+00:00Added an answer on May 23, 2026 at 9:26 am

    See this:
    http://developers.facebook.com/docs/authentication/ and look for the section called Desktop Apps in the bottom.

    You need to use this Url for dekstop apps:

    https://www.facebook.com/dialog/oauth?client_id=YOUR_APP_ID&redirect_uri=https://www.facebook.com/connect/login_success.html
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing text to a page using document.write for a Chrome extension, but the
im writing a chrome extension and need a simple text editor component so that
I've been writing a Greasemonkey script for Chrome (drags and drops as an extension)
I am writing a Chrome extension that synchronizes with Opera Link, but I keep
I'm trying to learn JavaScript by writing a Google Chrome extension for Reddit so
I am writing a javascript application using the File API in Google Chrome. I
Writing something like this using the loki library , typedef Functor<void> BitButtonPushHandler; throws a
I'm writing a Chrome extension that works with a website that uses ISO-8859-1. Just
I am writing a Firefox extension. I have setup an overlay for chrome://browser/content/browser.xul and
I am writing a chrome extension that change part of the url in the

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.