I just read the thread at http://drupal.org/node/788100, which (if correct) would mean that this module needs to be updated to use the new facebook API. I believe I saw similar threads about the same broken link.

1. Is this being worked on for this module?
2. Is there a different link that users can use until this module works with the new api?

Thanks for any help!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dreadfulcode’s picture

subscribed

mcarbone’s picture

Mindy, did you mean to link to http://drupal.org/node/788074 instead?

Mindy’s picture

mcarbone, you are correct. I guess I had too many tabs open!

dylanclear’s picture

Apparently the legacy FB API is causing double page loads - please address!

Steven Jones’s picture

Looks like the new PHP stuff is over here:

http://github.com/facebook/php-sdk/

Steven Jones’s picture

And it would appear that FB have completely changed their API, nice :)

vincentdemers’s picture

subscribing

dreadfulcode’s picture

Any news, links, etc?

I am looking forward to enabling my users to login to my sites via facebook!

jenyum’s picture

I had this working for a bit, but now all it does is post a link to my site (the base url) and slow everything down horribly.

I'm also having difficulty shutting it off (probably the double page load issue) if I can't fix that I'll start a new issue.

This module does not work at all now, do not use.

Ryan Palmer’s picture

I've also had trouble with this module lately.

My apologies for the useless post. Subscribing.

langworthy’s picture

langworthy’s picture

@jenyum I'm using the 6.x-dev version of the module and have had success with the the libraries supplied in #11.

Can you be more specific about "post[ing] a link to your site". I also haven't had any trouble disabling and re-enabling the module.

BenK’s picture

Subscribing...

Robardi56’s picture

I'm sponsoring this module update: http://drupal.org/node/839354

vectoroc’s picture

Facebook Connect Branding - Facebook Connect was our initiative to help developers integrate Facebook Platform beyond Facebook.com. Given that the underlying technologies are the same whether you are building applications, websites or devices, we’re transitioning away from the Facebook Connect brand to reflect that there is one platform behind any integration with Facebook. This change has no impact for developers using Connect; everything is still part of Facebook Platform. You can optionally use the "Login with Facebook" button or our new button with faces, which have seen higher conversion rates. Learn more about integrating Facebook on your website which includes many components we promoted as Facebook Connect.

from http://developers.facebook.com/docs/guides/upgrade

vectoroc’s picture

Category: bug » task

I was easier then I thought...
http://github.com/vectoroc/fbconnect/tree/6.x-2.x
Currently there is working only basic login/auth functions.

vectoroc’s picture

Version: 6.x-1.0-beta9 » 6.x-2.x-dev
Status: Active » Needs review
As If’s picture

Can someone write a current working recipe for installation from scratch?

There are several threads about the state of this module and it's impossible to tell whose steps to follow, and which versions of which files to use to make it work. Should we install the dev version or the recommended version? Are we all waiting for some mystery bounty programmer to cough it up like a pearl? What about the new files on github: Are they "patches" (as described there) or complete replacements for files in the module package? And if so, which package? Or are they the same? And what is the actual placement of facebook-client zip, and *should* it be unzipped? (README says "place it into the fbconnect module folder" - but it does not say "unzip it"). If it should be unzipped, should the facebook-client folder itself be uploaded, or simply the *contents* of that folder? The instructions are unclear.

N.B.: The instructions at http://wiki.developers.facebook.com/index.php/Connect/Setting_Up_Your_Site (mentioned in step 4 of the README) also seem to be outdated, because they mention a "Basic" tab and a "Connect" tab which are actually not visible at the top level. These tabs can be found by going to "Edit Settings" or Edit Application Profile > Edit Settings when viewing your application.

As If’s picture

Answering my own post for anyone who's interested...

1. I used version 6.x-1.0-beta10 straight out of the package. No patches.
2. I unzipped facebook-client.zip and uploaded the "facebook-client" folder (with all its contents) into the sites/all/modules/fbconnect folder.

FBConnect is now working for authentication and drupal login.

plan9’s picture

I'm using the now unsupported 5.x branch of fbconnect and still have login/auth function but have lost the ability to post comments to facebook wall. Facebook popup gives the error:

Application response error
There was a problem generating the Feed story from the provided data. You can see this because you are one of the developers of the app.

Are the facebook API changes going to mean a major rewrite of the module - or just a line or two?
I can't upgrade to Drupal 6 yet and fbconnect 5.x has been rock solid up until now.

bsmith451’s picture

Question for AS IF:

I've been going nuts trying to get the user extended permissions setup.
Using : 6.x-1.0-beta9
I had the ADMIN account working correctly, until I blew it up today by un-linking the acccount and resetting the profile link to my fb app.

Now when I have a user accept the fb connect link, it only asks for BASIC authorization. The user doesn't get their fb stream and cannot post without a pop up box to authorize ( this was not the case prior to resetting )

So, long question short: Are your extended permissions working?

As If’s picture

I am not very familiar with FB itself - this is something I'm doing for a client. I don't know what you mean by "extended permissions". After logging in via FBConnect to the Drupal site, the comment form has a new checkbox "Publish to Facebook". If I check that and make a comment, I get a popup that asks me to verify that I want it on my wall and allows me to type a subject line into a textbox. Also the "Invite Facebook Friends" block opens an iframed page on my site, that seems to look ok, but I don't have any facebook friends so I don't know if it submits properly yet.

What I'm really hoping for is getting some info from the FB account pulled over to the Drupal account (for new registrations). So far I see no way to do it. I don't know if that can be done with this version of the module (or at all)...

As If’s picture

Curious about what extended permissions are, and whether I can do what I want to do with additional FB user info, I overwrote all changed files in my installation with the dev copies from github. The entire site crashed immediately and completely. WSOD on every page. I have rolled back to version 6.x-1.0-beta10.

james.williams’s picture

As If - To pull in user data from facebook, use fbconnect_get_info_from_fb(). eg: fbconnect_get_info_from_fb($fbuid, 'username');

See http://developers.facebook.com/docs/authentication though, you should be aware of facebook's T&Cs on pulling in user data.

bsmith451’s picture

"extended permissions"

This is needed to pull user stream into the block and using extended permissions allows the post to go directly to the user wall without the popup confirmation\publish box

As If’s picture

Thanks guys. Ok. No, extended permissions are not working on my setup.

dreadfulcode’s picture

Hey As if-

It is pointed out in fbconnect's latest readme.txt that extended permissions is not working (yet). And since I am not the maintainer, I'm not sure how to tackle this.

however, I am testing the drupal for facebook version (and can we please be a little more creative with the names of your modules?) of facebook connect, and it seems as though it may be easier to do just that.

At least it appears that way.

Whichever version will do what I want it to do, which is:

Pull the user's profile picture,

fb username,

hometown,

and email

during registration,

which is most likely similar to what you want to do, then I will use that particular version of fb connect.

....either "Facebook Connect", from module "fbconnect"

.....or "Facebook Connect", the submodule of the module "Drupal for Facebook"

(again, developers- the names. So confusing!)

judderwocky’s picture

I still can't get it to load the php library.... I have approached the problem like one of those logic workbook problems... i have tried every combination of packets and modules placing them in every combination of site/all/modules/fbconnect sites/all/libraries libraries modules/fbconnect site/all/modules/facebook-client site/all/modules/fbconnect/facebook-client
ive tried a ton of combinations... i've also tried directly calling the facebook.php file with no help (as some of the readme's explained) i feel like there is something that i'm missing with this module... i would be open to ANY suggestions at this point

i followed several readme files to the letter... but still can't get it to work... it might be my server 1and1... but who knows

As If’s picture

@judderwocky - In my beta 10 setup, facebook.php (as well as the other files that came in the zip) resides in a folder called facebook-client, which is in the sites/all/modules/fbconnect folder.

@dudeoflife - I am talking about beta 10, not the latest dev. I have tried all the dev versions but they have additional problems so I rolled back to beta10. To your knowledge, did extended permissions ever work in any version?

PS - "Facebook Connect" is actually the name of the function at FB, so both module developers are just using the official name.

judderwocky’s picture

@asif I actually tried that with all three versions. For some reason it doesn't want to take that library file. thanks though, i appreciate any ideas

miraclestyle’s picture

FileSize
9.42 KB

I am a bit busy and have no time to drill through all the threads on fbconnect issue queue. Didn't have luck installing fbconnect and decided to build my own module. Maybe this isn't right place to post it, forgive me for that. I still think the community will benefit from this.

Feedback from everybody is more than welcome.

Warning! Do not install this module on a production system. It needs heavyweight testing prior being considered production module.

Here is the Facebook Interface module. It's simple, less than 500 lines of code.
It uses new Facebook JavaScript SDK and cookies, so no additional libraries are required.
Install as any other module. Configure it in drupal Site Configuration, and place Facebook login button block in a visible content pane. As the matter of fact, Facebook Login button as well as other facebook social plugins could be embedded easily by adding new drupal blocks and pasting the code generated on facebook plugin pages (http://developers.facebook.com/plugins) in the block body, and using the "Full HTML" input filter!

Known issues:

Since it's using hook_init this module will not work if drupal caching is enabled!
With limited time scope, I have tried to write a variant to utilize drupal menu system but without success. Perhaps someone finds solution to this before I do.

As far as I'm aware the module will need drupal installation hosted on a domain publicly available. And of course, facebook application has to be created on facebook.com prior this module can be configured and used.
Cheers.

Elvin.

#EDIT
One more thing!

If you plan on creating your own Facebook Login Button in a custom drupal block, make sure that you request extended permissions for e-mail:

this is the minimum of code you have to paste in the block body:

<fb:login-button perms="email"></fb:login-button>

As for the other plugins, you have to use XFBML tags (not iFrames) generated on facebook plugin pages.

Elvin.

miraclestyle’s picture

One more thing!

If you plan on creating your own Facebook Login Button in a custom drupal block, make sure that you request extended permissions for e-mail:

this is the minimum of code you have to paste in the block body:

<fb:login-button perms="email"></fb:login-button>

As for the other plugins, you have to use XFBML tags (not iFrames) generated on facebook plugin pages.

Elvin.

dreadfulcode’s picture

Miracle--

This looks like an excellent start, and the code is easy to follow. It's simple, like me ~:^]

Your version is perceivably just as close to being a production quality module as the moneyed projects. Thanks for donating your efforts on this.

Trying it now. Feedback in a few days.

armanschwarz’s picture

guedressel’s picture

miraclestyle, thanks for your code contribution.
I had a look at it. It's really only a proove of concept. With some tweaks I got it running quite seamless for the default usecases and clickthroughs...

Since this is a totally new approach of integrating fb-connect/-login, what are your plans with that piece of work?
Do you think this is something like a new branch for fbconnect? Or a new module? Or just a hack and will stay at this proove of concept level?

Are there other guys who have tested this code?
fbconnect guys?

I' quite interested in this and maybe could put some effort in contributing code - since a customer project of us relies on fbconnect (currently) and we are unhappy about it's recent development progress and future perspective because of facebooks new API.

miraclestyle’s picture

@guedressel,

I've needed facebook integration on my web newly established poll engine http://www.bipoll.com/, and facebook interface module was primarily designed to solve this issue. Problems with fbconnect module motivated me to build my own code. I thought that this code could be useful to community, that's why I have contributed it.

Since I am going to need facebook/drupal integration and since drupal consulting is part of my business, I am planing to distribute a newly branded module (Facebook Interface) that I am developing (if drupal.org allows a new module of the similar functionality to fbconnect) sponsored by my business, and offer commercial premium support of it for my customers. So, that's an advertisement for my business, and functioning GPL code for community!

The current code on http://www.bipoll.com/ is utilizing facebook PHP SDK, so it requires latest facebook.php library, but was extended with drupal actions to support posts on users's walls with the support of Token module, the code has been cleaned up and reorganized, hook_init has been replaced with custom menu path. Though I haven't tested it with caching enabled. Next milestone for me is CVS account from drupal.org which I have applied for couple of days ago.

Elvin.

yossilac’s picture

@miraclestyle,

Thanks for your code, this looks very promising.
Could you possibly share (here or elsewhere) your updated code, even before getting your CVS account? I'd like to start testing it as soon as possible :)

j0k3z’s picture

A new module would be great, hopefully your CVS account gets setup soon. I would also like you check out your code in the meantime if possible. The code you posted above works very well and the changes you mentioned sounds great.

anonymous07’s picture

Subscribe

intent’s picture

subscribe

kvantomme’s picture

@miraclestyle it's a bad idea to create a fork of facebook connect. In these cases the right thing to do is to ask the maintainer of fbconnect for a co-maintainer cvs access for the original module and to help upgrade the existing module (to prevent a waste of developer resources and lots or developer confusion).

j0k3z’s picture

Fork or no fork -- Please post your updated code!

I am ready to roll out the code you posted above but if you made some changes then I would love to use the more current code base.

locomo’s picture

subscribe

viibfa’s picture

subscribed

jacobpov’s picture

subscribed

guedressel’s picture

User farang on IRC asked me to share my little tweaks.
Since it was only experimenting with the code from miraclestyle i made no documentation or conceptual changes.

I just fixed some inconveniences. Still a lot of usecases will lead to error messages or buggy behavior.
Hopefully the discussion of miraclestyles code will continue, because I like the approach of fb_interface (as next generation of fb-connect or whatever).

Cheers!

vectoroc’s picture

@miraclestyle: it's cool, but it does not apply to the fbconnect module. Create a separate module or use forum.

espenmoe’s picture

is the 2.0 dev on Drupal.org the most current one?

vectoroc’s picture

the most current is on github

vectoroc’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

HS’s picture

Status: Closed (fixed) » Active

Why is the most current version on Github and not Drupal?

  • vectoroc committed 6f36f79 on
    #788118 by langworthy : merged with http://github.com/sprice/fbconnect #...
  • vectoroc committed 8586cf0 on
    #788118 : upgraded module in order to use new FB API
    
    
  • vectoroc committed 8952f82 on
    #788118, #848354 : updated outdated code, fixed automatic registration...
gobinathm’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Closing the issue. It was inactive for a long time & it's related to a Drupal Version which is not supported anymore