services login

psi-borg - September 14, 2009 - 02:29
Project:Drupal for Facebook
Version:6.x-2.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

hi Dave. this issue also looks forward to drupal 7, which if i recall correctly will require all modules be available as a service.

i'm using drupal services and would like to bypass user.login() which requires the username and password. how would i do this? how will d7ff do this?

#1

Dave Cohen - September 14, 2009 - 10:28

I do not understand the question. however, I can tell you that DFF let's users log in with their facebook credentials, meaning the email address and password they use on facebook. Other than that, it has no effect on Drupal's login.

#2

psi-borg - September 16, 2009 - 09:47

hi Dave, i try to clarify what i'm trying to do at http://drupal.org/node/578708 - i'm not sure if this is more of a services or dff issue.

#3

Dave Cohen - September 16, 2009 - 10:08

I know nothing about the services module. Is there some drupal hook that it expects to be called that is not being called when logging in via facebook?

The fb_user module will call hook_fb when a user logs in. So you could write an implementation of hook_fb that does something that services needs.

If you figure it out, let me know. I'm willing to make changes to fb modules that improve it in a general way, but not hacks specific to services module. Unless services is core, is it?

#4

psi-borg - September 17, 2009 - 01:06

i must be mistaken about d7 requiring modules to have a services implementation. webchick in #drupal is saying nyot nyet.

it would be really sweet to have fb working as a service to implement the service for other platforms (amfphp used for flash ads that point to the fb app at facebook.com for example)...

aside: dave, whadya think about this fb rpg idea: ever see "what if they mated" on conan o'brien? what's the entertainment value for a game that implemented that idea in an fb mmorpg, where each person starts out with a gene sequence that defines their virtual character's phenotype... and could see the virtual results of "what if they mated" with another fb user's virtual character. you could define fitness functions and rules for progeny generation simulated with modern genetic algorithms. the fitness function should ideally have a feedback loop from the user population at large, but the reproduction rules would be governed by biological rules of reproduction that introduce uncertainty into the system (say, through dna recombination and mutation).

#5

psi-borg - September 17, 2009 - 02:41
 
 

Drupal is a registered trademark of Dries Buytaert.