EllisLab text mark
Advanced Search
3 of 11
3
   
Poll
Should I make the repository Spark friendly?
Yes 5
No 2
Branch off and create a "full" branch. 3
Total Votes: 10
You must be a logged-in member to vote
Facebook Ignited
Posted: 22 August 2011 12:30 PM   [ Ignore ]   [ # 41 ]   [ Rating: 0 ]
Joined: 2008-11-01
62 posts

What I did as a quick fix was check in my main controller that the referrer is Facebook.com. If it is not, it reloads. The elegant solution would be a configuration parameter but I am not sure whether that is practical or not.

 
Posted: 23 August 2011 01:40 AM   [ Ignore ]   [ # 42 ]   [ Rating: 0 ]
Joined: 2008-11-01
62 posts

I noticed in my app and then on your test page as well that one cannot called the ‘Send a Request’ code twice? The first time a user clicks the friends box comes up. After that it is dead until user refreshes the page. I realize this is probably javascript issue rather than an FB Ignited issue, but I thought perhaps you had come across it as well?

 
Posted: 23 August 2011 11:14 AM   [ Ignore ]   [ # 43 ]   [ Rating: 0 ]
Avatar
Joined: 2010-08-21
77 posts

I hadn’t really noticed to be honest, since that is written in the javascript sdk and I am not as versed in how it works lol.

I am planning on making a purely PHP version of it, but I haven’t decided how yet, since it requires a few methods to be used lol.

 Signature 

Dark Prospect Games, LLC | Facebook Ignited on GitHub

 
Posted: 23 August 2011 11:37 AM   [ Ignore ]   [ # 44 ]   [ Rating: 0 ]
Joined: 2008-11-01
62 posts

OK. Thanks. You can check out my other app at https://apps.facebook.com/presenternet For r.oom name just type in dogdemo. Thanks for some great help in getting FB aligned with Codeigniter.

 
Posted: 23 August 2011 07:48 PM   [ Ignore ]   [ # 45 ]   [ Rating: 0 ]
Avatar
Joined: 2008-02-13
112 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 Code191
API Error Description
The specified URL is not owned by the application
Error Message
Invalid redirect_uriGiven 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 ?

 Signature 

Sorry for my pour english :(

 
Posted: 24 August 2011 01:01 AM   [ Ignore ]   [ # 46 ]   [ Rating: 0 ]
Avatar
Joined: 2010-08-21
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.

 Signature 

Dark Prospect Games, LLC | Facebook Ignited on GitHub

 
Posted: 24 August 2011 01:20 AM   [ Ignore ]   [ # 47 ]   [ Rating: 0 ]
Joined: 2008-11-01
62 posts

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

 
Posted: 24 August 2011 01:21 AM   [ Ignore ]   [ # 48 ]   [ Rating: 0 ]
Avatar
Joined: 2010-08-21
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. smile

 Signature 

Dark Prospect Games, LLC | Facebook Ignited on GitHub

 
Posted: 27 August 2011 02:24 AM   [ Ignore ]   [ # 49 ]   [ Rating: 0 ]
Joined: 2008-11-01
62 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?

 
Posted: 30 August 2011 09:08 AM   [ Ignore ]   [ # 50 ]   [ Rating: 0 ]
Avatar
Joined: 2010-08-21
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.

 Signature 

Dark Prospect Games, LLC | Facebook Ignited on GitHub

 
Posted: 15 September 2011 03:28 PM   [ Ignore ]   [ # 51 ]   [ Rating: 0 ]
Avatar
Joined: 2011-09-15
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 Code191
API Error Description
The specified URL is not owned by the application
Error Message
Invalid redirect_uriGiven 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.

 
Posted: 17 September 2011 03:29 PM   [ Ignore ]   [ # 52 ]   [ Rating: 0 ]
Avatar
Joined: 2010-08-21
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.

 Signature 

Dark Prospect Games, LLC | Facebook Ignited on GitHub

 
Posted: 17 September 2011 06:11 PM   [ Ignore ]   [ # 53 ]   [ Rating: 0 ]
Avatar
Joined: 2011-09-15
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.

 
Posted: 26 September 2011 06:58 AM   [ Ignore ]   [ # 54 ]   [ Rating: 0 ]
Avatar
Joined: 2008-04-14
6 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.)

 
Posted: 27 September 2011 03:51 AM   [ Ignore ]   [ # 55 ]   [ Rating: 0 ]
Joined: 2011-09-06
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

 Signature 

LOVE ME LOVE http://www.uggbootsdealer.com

 
3 of 11
3