Feature Request: Facebook Connect
-
Johannes Schirge
- State changed from new to open
- Tag cleared.
- Milestone changed from 0.6 to 0.5
-
Johannes Schirge
- Tag set to high-priority
-
Johannes Schirge
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
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!
-
Brian Jesse Hendrickson
ok it works! for new signup/register so far
-
Johannes Schirge
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
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
in your config.yml you need to add "facebook" to the list of apps
-
Johannes Schirge
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
just added FB-image fix and updated changelog with all you commits to V3.80b
-
Johannes Schirge
- State changed from open to resolved
-
Brian Jesse Hendrickson
as long as it works I have no objection :-)
-
Johannes Schirge
Than wait a second! :P
-
Brian Jesse Hendrickson
hey now the button doesn't work with my Safari/omb.com !!
-
Johannes Schirge
Hm, okay, lets change back to the old one...maybe its a opera bug. But generally its not w3c conform
-
Brian Jesse Hendrickson
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
- 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
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.
-
Brian Jesse Hendrickson
just pushed a fix
-
Johannes Schirge
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
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
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
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
Brian thanks ... but where do i find my Connect tab for my Application settings
-
chrislace
Brian thanks again will try that ... Another question how do I set pretty urls
-
Brian Jesse Hendrickson
///////////////////////////// // 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
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
/////////////////////////////////
// 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
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
-
Brian Jesse Hendrickson
should be fixed now http://dbscript.net/omb.zip
-
chrislace
which file should I change I have to keep re-uploading and over writing all my changes then re change them... thanks
-
Brian Jesse Hendrickson
db/library/dbscript/mapper.php
-
Johannes Schirge
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
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
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:
#93 Feature Request: User profile background customization
-
chrislace
Johannes Thanks.... I will continue to share my ideas to help further develop this platform
-
chrislace
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
@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
- 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
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.