0

I'm running a D7 system where users follow each other by using a 'follow' flag and then on user profile I've added a view to show all the users followed by a 'logged-in-user'.

What I'm struggling with is how do I generate a list of users who are followed by the friends of 'logged-in' user.

something like facebook 'mutual friends' functionality so 'logged-in' user get a list of users followed by the users he/she following.

1 Answer 1

1

You can do this by using Flag Friend module

Flag Friend aims to be a lightweight friending module utilizing the excellent Flag module's API.

Or

Flag Follow

This is a simple module which allows a user to view Heartbeat activities of his favorites/followed users. A user can add another user to his favorites list by just click on a 'Follow' button. It requires no approval to add a user to your favorites list.

or

You can do this by using Follow module.

Follow adds sitewide and per user links that link to various social networking sites. The links reside in two blocks. The Follow Site block lists all the links for the site itself, and by default is visible on all pages. The Follow User block lists all the follow links for the user and is visible only on user profile pages.

5
  • thanks for your prompt response but I cannot change the way flags/flag working at the moment as it would cause problems in messaging and notifications I'm running. I've to use the existing flag 'follow' to achieve this functionality.
    – Ozyy
    Commented Jun 12, 2015 at 11:30
  • Have you try Flag Follow ?
    – Nishant
    Commented Jun 12, 2015 at 11:34
  • What I'm looking for is a list of users followed by my friends, again - something like 'would you like to add user X' 'User-X has 3 Mutual friends with 'you' '
    – Ozyy
    Commented Jun 12, 2015 at 11:34
  • I'll give 'Flag-follow' a run and will update you @NishantP to how it went
    – Ozyy
    Commented Jun 12, 2015 at 11:36
  • Ok sure. I hope your issue might be solved.
    – Nishant
    Commented Jun 12, 2015 at 11:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.