× Joomla Facebook Connect support forum

Topic-icon Custom Status/wall post

Active Subscriptions:

None
11 years 7 months ago #26605 by fb_100000532508192
Hi,

i would like to know how i could create custom wall post at login time. Either via custom login script or by some other means. i want Night clubs to use the login with facebook(so they would have thier own page on my site) then when they get a user to register it would post there club logo ect.

Any advice?
The topic has been locked.
Support Specialist
11 years 7 months ago #26633 by alzander
Replied by alzander on topic Custom Status/wall post
You mean a custom status message to the user's Facebook wall? JFBConnect already has the ability to post a message to the user's wall, but it's a 'fixed' message and not customized to that user.

There's a few options if you want to tailor that message. I can tell you where we post the static message and you can change the code there to make it dynamic in some way. Alternatively, you can implement your own functionality and use the Wall Post feature, as described below, to setup your own post entirely:
www.sourcecoast.com/jfbconnect/docs/deve.../facebook-wall-posts

Let me know if you need more help guidance, and we'll do what we can.

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

None
11 years 7 months ago #26645 by fb_100000532508192
This is exactly what i need. i'll use some jquery to make it work on the fly.

many thanks
The topic has been locked.
Support Specialist
11 years 7 months ago #26650 by alzander
Replied by alzander on topic Custom Status/wall post
Sounds good. Glad we could point you in the right direction!

Best of luck,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 7 months ago #26696 by fb_100000532508192
Also, how can this be achieved for off line users?

thanks
The topic has been locked.
Support Specialist
11 years 7 months ago #26704 by alzander
Replied by alzander on topic Custom Status/wall post
You'd need to include the user's authentication token in the message, which is something our easy "setFacebookMessage" function doesn't currently support. We do store the authentication token in the UserMap table for JFBConnect and you could instead implement your own (which we can help you do). However, I really wouldn't recommend posting to a user's wall except in the most necessary cases. It can really annoy users if you post to often on their behalf and especially without their real desire for you too. If your app gets marked as 'spam' too often, it has bad repercussions from Facebook themselves.

With the next release of JFBConnect, we'll be adding Open Graph Actions features, which will allow you to put activity into a user's timeline. That's generally the more preferred ways to do things like (I think) you're looking for. However, you know your app and user's and I don't.. so if you want to post to their wall when they are offline, we can help.

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

None
11 years 7 months ago #26753 by fb_100000532508192
Thanks Alex. If you can explain the best method for doing this. Also do you have a release date for the next jfbconnect?

Many thanks
The topic has been locked.
Support Specialist
11 years 7 months ago #26762 by alzander
Replied by alzander on topic Custom Status/wall post
Phil,
I knew I had this question recently.. so I found the post. The code in the post below is completely untested, and we never heard back from the user if it worked or not. Feel free to read through the thread (or just my post with the code change):
www.sourcecoast.com/forums/jfbconnect/jf...line-user?p=1#p25354

That thread auto-closed due to inactivity, but we can continue discussing it here if you run into issues!

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

None
11 years 7 months ago #26769 by fb_100000532508192
Hi the link above looks like what i would like to achieve.

thanks again
The topic has been locked.
Support Specialist
11 years 7 months ago #26774 by alzander
Replied by alzander on topic Custom Status/wall post
Cool. Let us know how it goes. That code hasn't been tested, but we'll probably look into adding it to a new release at some point. Having clarification as to whether it works simply helps us 'up' its priority since that will require less (though still a lot) QA.

Thanks,
Alex
The topic has been locked.