Hi,
I am trying to integrate elgg with android and facebook. The current strategy is:
1) I have a native android application with facebook login setup. The user logs in to facebook from my app.
2) I then have some exposed methods in the web services api to use the user uid and login/create user
The problem is, the login works fine on a browser, but not on the phone. I have using login($user);
I am wondering could it be because of ell using sessions and cookies?? Is this task possible at all??
I also looked at the core login script in elgg/actions/login and it uses something called elgg_authenticate($username,$password);
could anybody please explain this further.
Thanks
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- jasper123@jasper123
jasper123 - 0 likes
- jasper123@jasper123
jasper123 - 0 likes
You must log in to post replies.http://docs.elgg.org/wiki/Web_Services
http://reference.elgg.org/sessions_8php.html#a45d411cf6dcbcca3bd0b9572d9ecae77
http://community.elgg.org/pg/forum/topic/842864/using-elgg-for-user-authentication-in-external-site/
http://community.elgg.org/pg/plugins/project/829356/developer/juho.jaakkola/elgg-api-skeleton
Hi, Thanks for the quick reply, but I am wondering is if at all it is possible to login a user through web services.. because as I will be on android, there will be no webbrowser to create cookies/sessions in..
do you know of any good pluings that can help me with web services?