× Joomla Facebook Connect support forum

Topic-icon Three things I need pointers on...

11 years 3 months ago #29146 by chramb1
Okay, I have the system fully integrated now with my registration flow. I wrote my own plugin using the JomSocial plugin as a guide and everything works properly. By way of explanation, we have a very lean signin procedure where a user simply gives their name, email, picks a password and tells us what profile type they want (photographer, model, makeup artist, etc). From that, we create their account, set defaults, and then have a system whereby when they log in, it notes which additional things they've not filled out and lets them. Our bounce rate went from close to 50% down to below 10% by doing this, since many people saw the long signup process and got scared away.

With the FBConnect button now, the name, email and password are all taken care of. They simply get sent to the page that asks them to pick their profile type and they're done. Plus, a number of the additional fields are pulled in from their FB profile, making things even easier.

So... to this point, BRAVO! The only real coding I had to do was our profile plugin, and it wasn't difficult at all.

Now, three things I need to have my site do.

1. Post to a user's wall using the new social graph functions. Specifically, we have components for contests, image galleries, a forum, quizzes and lots of other social things to do. These are all custom-built components, so I'm going to need to call into whatever API you have to push social activities. I suspect, looking at the code, that I make a call to check if the user has a mapping and then make another call to push the action. I presume your code handles the auth token and keeping it fresh? How does one integrate into your API for extended social graph verbs and create their own?

2. Post to a page's wall. For example, when a contest on our site closes, I'd like to be able to post to a specific page's wall, AS THE PAGE, that the contest is done and there's a winner. This is the most frustrating thing in all of Facebook, since to do this, you need to specify a user account, request extended permissions and then use the post-as-page functionality through the user account as a page manager. I barely understand it myself. I sincerely hope that you've figured this out and have it functional!

3. Integrate the FB comments and like functions into my own components.

So I'm presuming that for 95% of this, just a pointer to "look in this file and see how we do it" should suffice. But I'm also presuming that there are a few places where it's not so clear or documented because, honestly, how many of your customers do their own custom integration with their own components? :-)
The topic has been locked.
Support Specialist
11 years 3 months ago #29179 by alzander
Glad to hear we're making easy (easier?) work of Facebook integration :)

1. Open Graph Actions
Absolutely look at our Open Graph plugins. I'd specifically recommend the custom, or even the content, one. We don't have documentation on the plugins yet, but there are good comments throughout. The Open Graph plugin system was built with the intent to be as easy as possible to create them to try to proliferate other developer plugin support.

2. Page Post
I think you already have this taken care of in your other Joomla Facebook Page Post topic. If not, let me know.

3. Comment/Like integration
Simply adding the {JFBCLike} and {JFBCComments} tags to your components templates will add those social buttons. Creating a Open Graph plugin will help to set the title, description, image and (canonical) URL for the pages of your component. That information is used when a Like or Comment is posted to a user's wall. With the two (the {JFBCxyz} tags and the Open Graph plugin), you'll be set.

Hope that helps,
Alex
The topic has been locked.
11 years 3 months ago #29181 by chramb1
#2, yes, I dove into that yesterday and I think we've figured out where that stands.

#3, I just played with this, and that works as expected. I like that I can use the {} notation in my template output and then have a single point of code to muck with if the need arises, keeping fixes/changes consistent across the site. Very nice.

#1, though, I have questions :-) ... I'll start a separate thread to keep them contained to the single topic, though.
The topic has been locked.
Support Specialist
11 years 3 months ago #29209 by alzander
#2 Awesome.
#3 Yup, we try to be very flexible without being intrusive. Glad we're hitting the mark there.
#1 Will be on the look out for them!

Best wishes,
Alex
The topic has been locked.