Feature Request: Facebook Connect
Reported by mast3ratarms | June 26th, 2009 @ 12:13 PM | in 0.5
Would like for users to be able to login using the facebook connect API. I think this would be more welcoming and easier for many users.
Comments and changes to this ticket
-
Johannes Schirge June 26th, 2009 @ 11:07 PM
- State changed from new to open
- Tag cleared.
- Milestone changed from 0.6 to 0.5
-
Johannes Schirge June 28th, 2009 @ 06:45 AM
- Tag set to high-priority
-
Johannes Schirge July 2nd, 2009 @ 11:51 PM
Tried your commit. Do I have to set some other settings to enable FB Connect? There is nothing shown on login-page on my installation.
-
Brian Jesse Hendrickson July 3rd, 2009 @ 12:21 AM
I haven't put all the pieces together yet :-)
As I finish different parts, I'm pushing them to github so I can "pull" to openmicroblogger.com
Probably will be able to finish in the next few hours, if so you will see the commits, you should just be able to set your API key etc in config.yml and voila!
-
Johannes Schirge July 3rd, 2009 @ 03:47 AM
Great!
I created an facebook dev-account and created a new application. I copied the api-key etc. to config.yml.
But the button is not shown at login-page
Do I have to change some api settings at facebook, too?
-
Brian Jesse Hendrickson July 3rd, 2009 @ 09:59 AM
on the Application Settings page
find the "Connect" tab
set the connect URL to http://tiquer.me/email_login
on that same "Connect" tab I set my "base domain" to
openmicroblogger.com but it's not necessary
I did upload some simple .png files too, but that's all I set up
-
Brian Jesse Hendrickson July 3rd, 2009 @ 10:23 AM
in your config.yml you need to add "facebook" to the list of apps
-
Johannes Schirge July 3rd, 2009 @ 12:21 PM
Ah, okay. Works with Firefox and IE, Opera 10 doesn't load the image.
<a href="#" onclick="FB.Connect.requireSession(); return false;" > <img id="fb_login_image" src="http://static.ak.fbcdn.net/images/fbconnect/login-buttons/connect_light_medium_long.gif" alt="Connect"/> </a>
Tried it with this code and it works. May I change it to this or are there any disadvantages?
-
Johannes Schirge July 3rd, 2009 @ 12:54 PM
just added FB-image fix and updated changelog with all you commits to V3.80b
-
Johannes Schirge July 3rd, 2009 @ 12:56 PM
- State changed from open to resolved
-
Brian Jesse Hendrickson July 3rd, 2009 @ 01:17 PM
hey now the button doesn't work with my Safari/omb.com !!
-
Johannes Schirge July 3rd, 2009 @ 01:21 PM
Hm, okay, lets change back to the old one...maybe its a opera bug. But generally its not w3c conform
-
Brian Jesse Hendrickson July 3rd, 2009 @ 01:25 PM
I'm glad that you test things with Opera, I would very much like to be compatible.
Maybe for a few items we will have to detect the browser?
I admit that my Safari is a little bit old so it's probably part of the problem.
-
Johannes Schirge July 3rd, 2009 @ 01:41 PM
- State changed from resolved to open
I will try a little bit around with opera...maybe I will find a solution.
By the way: I do now get this error if I entered login/password:
Fatal error: require_once() [function.require]: Failed opening required 'Validate.php' (include_path='.::db/library/facebook-platform/php:db/library/facebook_stream') in /var/www/vhosts/tiquer.me/httpdocs/tiquer_me/db/library/facebook_stream/Services/Facebook/Common.php on line 24
-
Johannes Schirge July 3rd, 2009 @ 11:47 PM
Now it's getting tricky. I think it is because I set "openbasedir none" to resolve the login-bug. But only an idea, I didn't try it up to now. will do that later and report.
-
Johannes Schirge July 4th, 2009 @ 01:53 AM
Okay, the second one works fine.
But if I try to register a new user (on a clean installation) I get:
Sorry, that nickname is already being used.
Fatal error in line 155 of file /var/www/vhosts/tiquer.me/subdomains/omb/httpdocs/app/omb/controllers/identities.php -
chrislace July 4th, 2009 @ 10:29 AM
I'm trying to find the correct settings to make facebook connect work I have so far added the apikey, secret, appname, app id in the config file, I used mysite.com/?email_login button shows but when try to connect nothing happens the popup shows up from face book but that's it... So what are the correct configurations I need to put in the facebook app.... Thanks
-
Brian Jesse Hendrickson July 4th, 2009 @ 12:01 PM
Hey Chris, thanks for reporting your bugs. Did you get Zeep Mobile to work?
To set up your site on Facebook you just need to go to the Connect tab of your Application Settings
It sounds like you have set it up correctly, if you were using Pretty URLs then your Connect URL would be http://yoursite.com/email_login but with the default URLs it would be http://yoursite.com/?email_login
I'm posting a new download right now, you can download it in the next few minutes here, it should fix the issue you are seeing, let me know.
Thanks
-- Brian
-
Brian Jesse Hendrickson July 4th, 2009 @ 12:32 PM
Johannes, you are doing a clean install, registering as an admin, and then trying to register with Facebook Connect and you get that nickname error?
-
chrislace July 4th, 2009 @ 01:13 PM
Brian thanks ... but where do i find my Connect tab for my Application settings
-
chrislace July 4th, 2009 @ 01:38 PM
Brian thanks again will try that ... Another question how do I set pretty urls
-
Brian Jesse Hendrickson July 4th, 2009 @ 02:25 PM
///////////////////////////// // use pretty URLs (optional) /////////////////////////////
To enable pretty URLs:
1) edit config.php (or config/config.php if you used Web installer)
2) change the 2 lines at the bottom of config.php
// global $pretty_url_base; // $pretty_url_base = "http://openmicroblogger.com";
[[ change the 2 lines like this ]]
global $pretty_url_base; $pretty_url_base = "http://yoursite.com";
3) copy the file /resource/prettyurls/.htaccess to the top level folder
3a) change the first line of .htaccess from "off" to "on"
4) change these 2 lines in .htaccess
RewriteCond %{HTTP_HOST} ^www.openmicroblogger.com$ [NC] RewriteRule ^(.*)$ http://openmicroblogger.com/$1 [R=301,L]
[[ change the 2 lines like this ]]
RewriteCond %{HTTP_HOST} ^www.yoursite.com$ [NC] RewriteRule ^(.*)$ http://yoursite.com/$1 [R=301,L]
5) if you need to use [www.]yoursite.com or [blog.]yoursite.com ]]
[[ then just use this 1 line in your.htaccess ]]
RewriteRule ^(.*)$ http://blah.yoursite.com/$1 [R=301,L]
-
chrislace July 4th, 2009 @ 02:32 PM
Brian great work Facebook connect works great now , about to do the pretty url... Just one more million things and I'm done... Ok the Twitter sign in what is the call back url for that I'm getting an error
sorry the nickname was not found on this site, nor at Twitter.com
Fatal error in line 507 of file /home/xxxxxx/public_html/app/omb/plugins/omb.php
-
Brian Jesse Hendrickson July 4th, 2009 @ 03:12 PM
/////////////////////////////////
// Facebook, Twitter, Zeep Mobile
/////////////////////////////////
Facebook:
-
click "Edit Settings"
-
click "Connect"
your connect URL is
http://yoursite.com/?email_login or http://yoursite.com/email_login (pretty URLs)
Twitter:
your callback URL is
http://yoursite.com/?oauth_login or http://yoursite.com/oauth_login (pretty URLs)
Zeep Mobile:
your callback URL is
http://yoursite.com/?mobile_event or http://yoursite.com/mobile_event (pretty URLs)
your website URL is
http://yoursite.com/?mobile_settings or http://yoursite.com/mobile_settings (pretty URLs)
-
chrislace July 4th, 2009 @ 03:35 PM
Brian thanks again but even with these settings for twitter i still get these errors:
sorry the nickname was not found on this site, nor at Twitter.com
Fatal error in line 507 of file /home/xxxxx/public_html/app/omb/plugins/omb.php
-
chrislace July 4th, 2009 @ 04:10 PM
which file should I change I have to keep re-uploading and over writing all my changes then re change them... thanks
-
Johannes Schirge July 5th, 2009 @ 06:37 AM
Brian, I started from scratch, also deleted browser-cache. I tried it twice, but always the same. You can try at omb.tiquer.me
-
Johannes Schirge July 5th, 2009 @ 02:07 PM
I hadn't a profile-picture in my facebook account and got the error. Now I have added a facebook profile-picture and it works.
-
Johannes Schirge July 7th, 2009 @ 04:12 AM
Hey Chris,
you have so many good Ideas. Great!
Could you create new Tickets for every new Idea or Issue and add successional ideas to existing Tickets? If everything is in one Ticket it becomes very confusing.Thank you and keep on posting new suggestions :-)
EDIT:
I moved your ideas/requests to this Tickets:
http://voitto.lighthouseapp.com/projects/16076/tickets/93-user-prof...
http://voitto.lighthouseapp.com/projects/16076/tickets/94-feature-r...
http://voitto.lighthouseapp.com/projects/16076/tickets/75-p2-theme-...
-
chrislace July 7th, 2009 @ 01:22 PM
Johannes Thanks.... I will continue to share my ideas to help further develop this platform
-
chrislace July 7th, 2009 @ 04:27 PM
Brian or Johannes does anyone know where I can get Code Stylist I'm trying to use it to that photo wall app tutorial but there's no download at the Codestylist website. I'm trying to accomplish having users upload photos to a tribute wall.
-
Brian Jesse Hendrickson July 8th, 2009 @ 01:20 AM
@chrislace code stylist has been on the backburner as you can see, but I will test and update the Photo Wall app and get back to you
-
Johannes Schirge July 20th, 2009 @ 06:10 AM
- State changed from open to resolved
Okay, set to resolved. It's not in our hand to add opera support because it is a known facebook-connector issue which hopefully will be resolved soon :)
-
Johannes Schirge September 17th, 2009 @ 10:54 AM
Facebook found a solution. The button now works in Opera, too :)
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
a(nother) PHP implementation of the http://openmicroblogging.org standard for distributed microblogging. Compatible with identi.ca and laconi.ca