Hola gente de eFiction. Justamente hace poco quise implementar el sistema Facebook Connect, para hacer un poco más social mi web. pero fué un total desastre 😎
Por eso vengo aquí buscando ayuda, a ver si pueden hacer un mod para eFiction. Les dejo la web de Facebook Connect, a ver si entienden más que yo xD:
http://developers.facebook.com/connect.php
El mayor problema es que no sé dónde está el tema de las sesiones y los coockis en eFiction. A ver si me echan una mano ;).
Saludos.
No sé mucho de los cookies, pero sé que para las bridges (puentes) a otros scripts, includes/get_session_vars.php es importante. ¿Cuál quieres hacer? Hay muchos opciones para Facebook Connect.
¿Cuál quieres hacer? Hay muchos opciones para Facebook Connect.
Quiero que permita a los usuarios publicar historias sin tener que registrarse en el sitio. Digo, eso hace que no tengan que registrarse para publicar, sino que puedan hacerlo con su cuenta de Facbook. Simplifica las cosas, no?
Creo que sería un mod muy usado en eFiction.
Okay, entonces es más como un bridge. Quiza /bridges/default/ sería útil. Es para crear bridges sin tener que modificar mucho en el base de la instalación de eFic. Un bridge se use para conectar eFic a otro programa. Yo creo que (si no añadas más) simplemente funciona para reemplazar fanfiction_authors en el base de datos (el registro de miembros) con la información del otro sistema. ¿Lo que quieres hacer, verdad?
Exacto, por el momento con esto me conformo. Voy a mirar el archivo de Bridges entonces y voy a ver si lo resuelvo.
Muchísimas gracias, Lyndsie.
PD: by the way, you speak a wonderful spanish :D.
EDIT:
Bueno, estuve intento instalar el Facebook Connect. Primero, pego el mini instructivo que viene:
Welcome to the Facebook Platform!
You can just grab the libraries out of the client/ directory and start building
your own application. It will probably be instructive, though, to first get
our sample application up and running so you can see exactly how the library is
meant to be used.We've created an application called Footprints that utilizes a lot of Platform
functionality while remaining fairly simple. If you don't want to set it all
up you can still check out the code and see it in action by going to
http://apps.facebook.com/footprints/.To get Footprints running on your own server, you'll want to first open up the
"footprints/config.php" file and modify it with your mysql database
configuration. Also, create the necessary table in your database as described
in the same file.Next, go to http://www.facebook.com/developers/apps.php, where you'll
register for an application. In the account creation page, set up your
callback URL such that it is the directory on your web server that corresponds
to the footprints/ directory of this package (if you loaded the callback URL
directly, it would display this package's index.php). In the same page, you
may also want to register for a framed page URL. You can also set up some
default FBML - ours is set as follows:
<fb:if-is-own-profile><br />Hi <fb:name uid="profileowner"
firstnameonly="true" useyou="false"/>! This is the default FBML as specified
in Footprints' account configuration page. This will get replaced the first
time you get stepped on.</fb:if-is-own-profile>Finally, copy the API key and secret key from the developers account page into
your config.php file. Now go to http://apps.facebook.com/<your-frame-url>/
and you should have Footprints up and running on your server!
Creo que hice todo bien hasta la parte de "framed page URL". Ahí no entiendo exactamente qué hacer. Ya llené el archivo de config.php con todos los datos.