Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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!
Comment | File | Size | Author |
---|---|---|---|
#46 | fb_interface_tweaks-2010-08-17.patch | 7 KB | guedressel |
#31 | fb_interface.tar_.gz | 9.42 KB | miraclestyle |
Comments
Comment #1
dreadfulcode CreditAttribution: dreadfulcode commentedsubscribed
Comment #2
mcarbone CreditAttribution: mcarbone commentedMindy, did you mean to link to http://drupal.org/node/788074 instead?
Comment #3
Mindy CreditAttribution: Mindy commentedmcarbone, you are correct. I guess I had too many tabs open!
Comment #4
dylanclear CreditAttribution: dylanclear commentedApparently the legacy FB API is causing double page loads - please address!
Comment #5
Steven Jones CreditAttribution: Steven Jones commentedLooks like the new PHP stuff is over here:
http://github.com/facebook/php-sdk/
Comment #6
Steven Jones CreditAttribution: Steven Jones commentedAnd it would appear that FB have completely changed their API, nice :)
Comment #7
vincentdemers CreditAttribution: vincentdemers commentedsubscribing
Comment #8
dreadfulcode CreditAttribution: dreadfulcode commentedAny news, links, etc?
I am looking forward to enabling my users to login to my sites via facebook!
Comment #9
jenyum CreditAttribution: jenyum commentedI 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.
Comment #10
Ryan Palmer CreditAttribution: Ryan Palmer commentedI've also had trouble with this module lately.
My apologies for the useless post. Subscribing.
Comment #11
langworthy CreditAttribution: langworthy commentedThe old PHP libraries are at http://wiki.developers.facebook.com/index.php/User:Client_Libraries
edit// direct download link: http://pearhub.org/get/facebook-0.1.0.tgz
Comment #12
langworthy CreditAttribution: langworthy commented@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.
Comment #13
BenK CreditAttribution: BenK commentedSubscribing...
Comment #14
Robardi56 CreditAttribution: Robardi56 commentedI'm sponsoring this module update: http://drupal.org/node/839354
Comment #15
vectoroc CreditAttribution: vectoroc commentedfrom http://developers.facebook.com/docs/guides/upgrade
Comment #16
vectoroc CreditAttribution: vectoroc commentedI was easier then I thought...
http://github.com/vectoroc/fbconnect/tree/6.x-2.x
Currently there is working only basic login/auth functions.
Comment #17
vectoroc CreditAttribution: vectoroc commentedComment #18
As If CreditAttribution: As If commentedCan 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.
Comment #19
As If CreditAttribution: As If commentedAnswering 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.
Comment #20
plan9 CreditAttribution: plan9 commentedI'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:
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.
Comment #21
bsmith451 CreditAttribution: bsmith451 commentedQuestion 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?
Comment #22
As If CreditAttribution: As If commentedI 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)...
Comment #23
As If CreditAttribution: As If commentedCurious 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.
Comment #24
james.williams CreditAttribution: james.williams commentedAs 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.
Comment #25
bsmith451 CreditAttribution: bsmith451 commented"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
Comment #26
As If CreditAttribution: As If commentedThanks guys. Ok. No, extended permissions are not working on my setup.
Comment #27
dreadfulcode CreditAttribution: dreadfulcode commentedHey 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!)
Comment #28
judderwocky CreditAttribution: judderwocky commentedI 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
Comment #29
As If CreditAttribution: As If commented@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.
Comment #30
judderwocky CreditAttribution: judderwocky commented@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
Comment #31
miraclestyle CreditAttribution: miraclestyle commentedI 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:
As for the other plugins, you have to use XFBML tags (not iFrames) generated on facebook plugin pages.
Elvin.
Comment #32
miraclestyle CreditAttribution: miraclestyle commentedOne 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:
As for the other plugins, you have to use XFBML tags (not iFrames) generated on facebook plugin pages.
Elvin.
Comment #33
dreadfulcode CreditAttribution: dreadfulcode commentedMiracle--
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.
Comment #34
armanschwarz CreditAttribution: armanschwarz commentedComment #35
guedressel CreditAttribution: guedressel commentedmiraclestyle, 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.
Comment #36
miraclestyle CreditAttribution: miraclestyle commented@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.
Comment #37
yossilac CreditAttribution: yossilac commented@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 :)
Comment #38
j0k3z CreditAttribution: j0k3z commentedA 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.
Comment #39
anonymous07 CreditAttribution: anonymous07 commentedSubscribe
Comment #40
intent CreditAttribution: intent commentedsubscribe
Comment #41
kvantomme CreditAttribution: kvantomme commented@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).
Comment #42
j0k3z CreditAttribution: j0k3z commentedFork 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.
Comment #43
locomo CreditAttribution: locomo commentedsubscribe
Comment #44
viibfa CreditAttribution: viibfa commentedsubscribed
Comment #45
jacobpov CreditAttribution: jacobpov commentedsubscribed
Comment #46
guedressel CreditAttribution: guedressel commentedUser 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!
Comment #47
vectoroc CreditAttribution: vectoroc commented@miraclestyle: it's cool, but it does not apply to the fbconnect module. Create a separate module or use forum.
Comment #48
espenmoe CreditAttribution: espenmoe commentedis the 2.0 dev on Drupal.org the most current one?
Comment #49
vectoroc CreditAttribution: vectoroc commentedthe most current is on github
Comment #50
vectoroc CreditAttribution: vectoroc commentedComment #52
HS CreditAttribution: HS commentedWhy is the most current version on Github and not Drupal?
Comment #54
gobinathmClosing the issue. It was inactive for a long time & it's related to a Drupal Version which is not supported anymore