Topic-icon Get Friends relationships

Active Subscriptions:

None
14 years 4 weeks ago #22506 by fefe83160
Hi,
I just want to show articles written by the friends of the current logged user.
Can you give me an idea ? do i have to use directly the graph API from FB
Thanks in advance
Regards
Fred
The topic has been locked.
Support Specialist
14 years 4 weeks ago #22516 by alzander
Replied by alzander on topic Get Friends relationships
Fred,
Yes, you'd have to use a combination of the Facebook Graph API (which JFBConnect can help you access), some code in JFBConnect to translate the user's friends IDs into Joomla IDs, and then even more code to look up articles by those Joomla IDs.

It'd take a bit of work, in all honesty. We can give you some pointers, but that's not something we'd be able to give you all the code to implement since it's not a feature we come close to offering. I'd definitely recommend having a developer on hand, if you're not very knowledgeable in PHP.

Just let us know, and we can point you to the right JFBConnect and Facebook APIs to look at to get the friend stuff. For getting the articles from Joomla, that's something you'd need to fetch and understand on your own.

Thanks,
Alex
The topic has been locked.