ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Facebook Ignited

May 01, 2011 4:28am

Subscribe [48]
  • #46 / Aug 23, 2011 7:48pm

    BaRzO

    105 posts

    Hi All,
    First of all. Thanks for you project.

    I am having problem to configuring my application.

    I am having this error

    An error occurred with MyApp Please try again later.
    
    API Error Code: 191
    API Error Description: The specified URL is not owned by the application
    Error Message: Invalid redirect_uri: Given URL is not permitted by the application configuration.

    my config files

    // ci config.php
    $config['base_url']    = 'http://example.com/myapp_folder/';
    
    // Facebook Ignited
    $config['fb_appid']    = 'my_app_id';
    
    $config['fb_secret']    = 'my_secret';
    
    $config['fb_canvas']    = 'myapp'; // Fabook App Namespace 
    $config['fb_apptype']    = 'iframe';
    
    $config['fb_auth']    = 'email';

    EDIT : the above config works now… but my app always reloading ?

  • #47 / Aug 24, 2011 1:01am

    deth4uall

    77 posts

    I am working on a new release with the Facebook PHP SDK v3.1.1 which should help reduce that from what I am reading.

  • #48 / Aug 24, 2011 1:20am

    DougW

    49 posts

    Facebook seems to have completely screwed things up with their release today. Sigh.

  • #49 / Aug 24, 2011 1:21am

    deth4uall

    77 posts

    Well, you can either keep the v3.0.1 or you can use v3.1.1 I am upgrading mine, but I would definitely check your settings in the developer panel, 95% of the things going on are due to wrong settings.

    Addendum: I am working on getting a script setup for a mailing list, so those of you who want to sign up for my newsletter when I announce new updates or request feature ideas, you can get it. It’s a purely volunteer thing, and it will require you to verify the email you use, as well as having the ability to opt out of future emails. I do not want to email people and piss them off if I don’t need to. 😊

  • #50 / Aug 27, 2011 2:24am

    DougW

    49 posts

    I am trying to get create_event to work. (The wiki needs some tune up by the way.. it appears as though you copied the text from the requests.) But anyway, I make the call, get no event id back, no errors and no event. Not sure how to go about debugging it either. Any suggestions?

  • #51 / Aug 30, 2011 9:08am

    deth4uall

    77 posts

    I will be going through and editting that when I can, for those of you who are more familiar with Git I have added Git support and created a repo on GitHub from which you can pull. Mercurial and Git will ignore each other so each one will be able to be updated co-dependently.

  • #52 / Sep 15, 2011 3:28pm

    kickloop

    2 posts

    Hi, can someone help me with this problem? Everything works great if the user has approved the app on Facebook, but when new user need to auth. this app i’m getting error:

    API Error Code: 191
    API Error Description: The specified URL is not owned by the application
    Error Message: Invalid redirect_uri: Given URL is not allowed by the Application configuration.

    I guess that the problem is with URL FB is sending back to CI, allowed characters, index.php or no idnex.php… In my apps setting on FB everything is configured ok (the app is working fine if you already auth.), Also everything is fine in config/fb_ignited.php.

    This is my .htaccess:

    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1 [L]

    and my config.php:

    $config['index_page'] = '';
    $config['uri_protocol']    = 'AUTO';

    I already tried with or without .htaccess and i tried to change uri_protocol to all other options and it’s not working for me.

    Thanks a lot if someone can help.

  • #53 / Sep 17, 2011 3:29pm

    deth4uall

    77 posts

    When setting up facebook ignited please remember these few minor details.

    apps.facebook.com apps require:
    iframe not connect
    also you need to only put the /app-name from the app address because the framework does rest.

    Any other Facebook Connect sites:
    connect not iframe
    also you can put the whole address in the config.

  • #54 / Sep 17, 2011 6:11pm

    kickloop

    2 posts

    @deth4uall,

    Thanks a lot. It’s working. All i needed to do is to change ‘fb_canvas’ value in config/fb_ignited.php to just a name of canvas page, instead of the URL.

    BTW, $this->fb_ignited->fb_is_liked() is not working.

  • #55 / Sep 26, 2011 6:58am

    Razz

    3 posts

    @kickloop and @deth4uall

    I’d just like to echo the solution to the following error when connection to Facebook through CI:

    API Error Code: 191
    API Error Description: The specified URL is not owned by the application
    Error Message: Invalid redirect_uri: Given URL is not allowed by the Application configuration.

    1) In your config > fb_ignited.php file (v1.0.5), be mindful to set your “fb_canvas” to the same setting as your Facebook App Namespace (or vice-versa) when creating a Canvas page on facebook.

    On fb_ignited.php:
    $config[‘fb_canvas’] = ‘mynewapp’;

    On Facebook Apps Basic settings:
    App Namespace: mynewapp

    These can work vice-versa (You typically will set the namespace first, but its possible to leave it blank when registering an app.)

  • #56 / Sep 27, 2011 3:51am

    marcolin

    3 posts

    Well, if you have requests for features be sure to let me know and I will start work on it so it will be there when you come back around to it

  • #57 / Oct 08, 2011 10:51am

    jacksun101

    1 posts

    @deth4uall,

    Thank you so much for your hard work. This is what I am looking for. However, I am using your library to integrate with PyroCMS, and it’s not working. It’s now reloading again and again. The reloading url is like below. Any suggestion?

    http://www.example.com/my_facebook_app/?state=2d3346aacd765fbb6d161345abfbfbcc&code=AQCcCIBQyUAT4p5lt9LLctxhx2IRcyAYj6WCt7UHxnG0geZhGCzfLy7kkPRFdcSddDwEeISkUWOEL-zV7Hl8r478ekAwiju4X12cb76upxMB7F6bmNyDKWFqDt8iQXnyGgzt7B0xGFPZzCeuXGT-Q-t6k6EakgyiQ5w8ORTd04Rsq03mbQHpZ4r-fXCpVLtStoA#_=_

  • #58 / Nov 02, 2011 9:53pm

    Nicole88

    8 posts

    just want to say thank you very much for you contribution deth4uall.. your application is exactly what i’m looking for.

    Currently I’m using you facebook ignited. ^_^.

    I’m new to this so kindly pls entertain my question that I’ll be posting here. 😛.

  • #59 / Nov 03, 2011 1:54am

    kikz4life

    77 posts

    I have a problem, don’t know if this is cause by my setup. But the problem is simple but I just can’t sort it out.

    In the welcome_view.php I can’t view my name even though I’m already logged in Facebook.

    this is my setup:
    config/fb_ignited.php

    $config['fb_appid']     = 'myid';
    $config['fb_secret'] = 'mysecret';
    $config['fb_canvas'] = 'dean_test';
    $config['fb_apptype'] = 'connect';
    $config['fb_auth'] = '';

    now on my dev.facebook setup

    App Display Name:Dean Mobile Application
    App Namespace:dean_test
    Website
    Site URL: mydomain.com/dean_test/

    Supposedly when Im currently logged in it should show: Welcome Dean, to Facebook Ignited but it show me: Welcome, to Facebook Ignited

  • #60 / Nov 06, 2011 1:32am

    deth4uall

    77 posts

    Have you tried v1.0.6?

    Release v1.0.6

    -Upgraded the Facebook PHP SDK to v3.1.1
    -Updated CodeIgniter to v2.0.3
    -Added the ability to specify the global variable returned in from fb_get_app().
    -Added the choice of full facebook friends list or just friends who have app installed to fb_list_friends().
    -Added the ability to choose whether a user is redirected to the login page. Default is false.
    -Removed the fb_get_auth_scope() & fb_get_canvas() functions, due to being able to retrieve global vars from fb_get_app().

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases