Topic-icon FaceBook Auto Post

Active Subscriptions:

None
12 years 2 months ago #19088 by trianglewiz
hi There,
There is no doubt, this component is awsome, while I like it more, i am just trying my luck if such a thing is possible or feasible or any other pointers would be helpful too.

1. I have a Form, where as part of the submit, it genreates the URL (myURL,com)
2. I use the above URL to create a JFBComment like {JFBComment, myURL.com} in one of my page.

Now I am worndering, is there a way as part of the Form submit

3.. I would like to create the URL,
4. Next important thing, is is it possible to Auto post that URL to users Facebook Wall? with some static Text? something like

{JFBPost, myURL.com, "Check this URL"}

I know I am inventing new things :) but please let me know if there is any way I can accomplish this?
The topic has been locked.
Active Subscriptions:

None
12 years 2 months ago #19098 by trianglewiz
Replied by trianglewiz on topic FaceBook Auto Post
i did quite a bit of reading, to further add to the above question,
all I need is a auto post comment ability, the thought being, once the user completes submit, I get an URL and based on that, I want to auto post it as a comment into the users wall with some description...
The topic has been locked.
Active Subscriptions:

None
12 years 2 months ago #19120 by trianglewiz
Replied by trianglewiz on topic FaceBook Auto Post
Hi Alex, I have made decent progress, based on other forum posts, although it is posting to the facebook wall using the following code, things are not synced, My goal is auto post to the facebook users wall and have the auto posted message show up in another php by using JFBComments.

1. I am using the following code in my page1.php

1. require_once JPATH_ROOT.DS.'components'.DS.'com_jfbconnect'.DS.'libraries'.DS.'facebook.php';
$jfbcLibrary = JFBConnectFacebookLibrary::getInstance();
$post = 'Here is my message ';
$post = 'My Unique URL';
if ($jfbcLibrary->getUserId()) // Check if there is a Facebook user logged in
$jfbcLibrary->setFacebookMessage($post);

2. Now in my page2.php I am displaying

{JFBCComments href=".My Unique URL"}

I expect to see, comment count=1 and comment box with 1 message saying 'Here is my message

Output: comment count=0 and comment Boxx shows no messages....
Are the comment IDS different from a FACEBOOK perceptive? not sure what am I doing wrong... appreciate your help
The topic has been locked.
Support Specialist
12 years 2 months ago #19123 by alzander
Replied by alzander on topic FaceBook Auto Post
Triangle,
Glad you're making some progress. If you haven't already found it, we do have a "Developer Documentation" area where we're always tring to add new information:
www.sourcecoast.com/jfbconnect/docs/developer-documentation

One bit is the Post To Wall functionality, which you found in forum posts, but is also here for handy reference:
www.sourcecoast.com/jfbconnect/docs/deve.../facebook-wall-posts

As for your question, when you post to a user's wall, it's not a "Comment", it's a "Feed Post". Comments can only be initiated by the user themselves and must be typed manually with the user clicking the "Post Comment" button. This is a requirement of Facebook to make sure that comments are genuine. Comments can only go into the Comments box that JFBConnect can help you insert on a page. This is all to prevent 'speaking for a user'. Posting a "Feed Post" to a user's wall is very different (even if it looks the same) in how it's treated by Facebook. Additionally, these posts, even when you set the URL are not associated with that page, like a Comment (that the user creates) is.

Hopefully, that explains it and isn't too confusing. I understand how it could be, but these are the intricacies of Facebook. There's a lot of effort on Facebook's part to ensure that user's content is genuine when it looks like they've created, for fear of privacy or 'bad' behavior that an admin could abuse if they can speak for the user directly.

Let us know if there's anything we can help with,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 2 months ago #19209 by trianglewiz
Replied by trianglewiz on topic FaceBook Auto Post
Thanks Alex,
It was good to learn the difference, now I understand you can only stretch as far as we can, related to integrating Facebook Comments, since it needs manual intervention.

As always, thanks for your wonderful support.
The topic has been locked.
Support Specialist
12 years 2 months ago #19273 by alzander
Replied by alzander on topic FaceBook Auto Post
No problem. Glad we could help clarify.

If you need anything else, just let us know,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 2 months ago #19907 by domŻy
Replied by domŻy on topic FaceBook Auto Post
hey Alex

Would a post based on this activity show up as an aggregation on a FB wall? I'm trying to do something like what Washington Post and some others are doing, where a user might get a post like this on their activity feed:

Jane Doe read "Gorillas Go Ape" via XYZ App.

Jane Doe, Joe Doe and 3 others read "Monkey's Love Jungles" on XYZ App.

Or is there some other stuff with Opengraph that needs to be added??

Where would I insert this code, in order that a particular article in Joomla would get posted to the users activity feed?


require_once JPATH_ROOT.DS.'components'.DS.'com_jfbconnect'.DS.'libraries'.DS.'facebook.php';
$jfbcLibrary = JFBConnectFacebookLibrary::getInstance();
$post = 'is doing something';
$post = 'www.sourcecoast.com/jfbconnect';
if ($jfbcLibrary->getUserId()) // Check if there is a Facebook user logged in
$jfbcLibrary->setFacebookMessage($post);
The topic has been locked.
Support Specialist
12 years 2 months ago #19947 by alzander
Replied by alzander on topic FaceBook Auto Post
Dominik,
The aggregations you're talking about are part of the new Open Graph features Facebook has rolled out. I mentioned in another similar post that this would be something we'll be adding later this year to JFBConnect. For now, there are some users that are using JFBConnect to already do this functionality. It can take a bit of work, and we'd recommend having someone knowledgeable in PHP and/or Javascript. If you'd like to learn more about Open Graph timeline posts, see the Facebook developer docs:
developers.facebook.com/docs/opengraph/tutorial/

If you'd like to read more about how to use JFBConnect to do it, we'd recommend starting with the following posts which we help a user get most of it setup:
www.sourcecoast.com/forums/jfbconnect/jf...-an-opengraph-action

Hope that all helps get you started. We'll help where we can, but, again, it will take a bit of effort to get going,
Alex
The topic has been locked.