Topic-icon facebook friends

Active Subscriptions:

None
12 years 9 months ago #35945 by jacek777
facebook friends was created by jacek777
Hello,

Is it possible to have friends from facebook import to a user's profile once it is linked via email with his/her facebook account? We are using jomsocial and JFBConnect for registration.

Thx,
Jack
The topic has been locked.
Support Specialist
12 years 9 months ago #35995 by alzander
Replied by alzander on topic facebook friends
Jack,
I'm not exactly sure what you mean by "import into a user's profile"? Facebook doesn't allow us to create user on your site unless they intentionally click the Login with Facebook button and approve your app. Additionally, the 'friend' would be a bit confused if they all of a sudden had an account created on your site.

If there's something I'm missing, or something else you're looking for, just let me know and I'll answer as best I can.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 9 months ago #36092 by jacek777
Replied by jacek777 on topic facebook friends
I mean for example, if 2 users create accounts on my page using jfbconnect facebook. If those 2 users are already friends on Facebook, would jfbconnect be able to connect them automatically as friends on my jomsocial?
The topic has been locked.
Support Specialist
12 years 9 months ago #36099 by alzander
Replied by alzander on topic facebook friends
Jack,
Thanks for the clarification. We don't have a way to do that right now, but it's an excellent idea. Honestly thinking about it, a lot of the different code pieces are already in JFBConnect in different places, it probably wouldn't be overly difficult. We have some code to fetch a user's friends, we can easily look up to see if the friend is in the system already, and adding the connections in Joomla is just a few lines of code.

One of the biggest issues would be speed.. if the user registering has 300 friends, that could take a little bit of time to import those friend IDs, do the lookups and make the connections. We're not talking minutes, but maybe 30 seconds (complete guess), which would obviously be a bad experience for the user. So, that's the main aspect that could be difficult. I could be very wrong, and maybe it would be a quick process (a few seconds), but that's something we'd have to investigate further.

If you know code or have a developer, we could gladly help you get started on things. If not, as mentioned, we liked the idea and it's likely something we'll be looking into for v5.2 in October.. but I can't guarantee when it would be available.

Thanks again for the feedback, and if you have any comments, let me know.
Alex
The topic has been locked.