Topic-icon Joomsocial integration

Active Subscriptions:

None
11 years 5 months ago #50030 by Creatura
Hi,
Please let me know, if you have any tutorial (with latest version of Developer tool for FB users, and your aplication) wher is clearly described process of integration joomsocial with facebook?
I need to every activity in joomsocial be visible in users facebook profile, for example if user add new post this post will be automaticlly visible on his/her profil on FB, same with photo, add group, add messeg in group, etc.

I found some tutorials on your site, but I'm still not able to do this.

Thank you in advance.

regards,
Karol
The topic has been locked.
Support Specialist
11 years 5 months ago #50034 by alzander
Replied by alzander on topic Joomsocial integration
Karol,
There's a few different things to setup and configure for pushing activity back to Facebook. For status updates, you simply need to enable the "Push Status Updates to Social Networks" in the JFBConnect -> Profiles -> JomSocial section.

For pushing 'actions', which are things users do on your site, you'll need to create Open Graph Objects and Actions for each of the things you mention like uploading a photo or joining a group. We don't support actions for adding a message in a group right now.

To create actions, please see our Open Graph Actions configuration guide:
www.sourcecoast.com/jfbconnect/docs/open-graph/actions/

If you run into any issues with the above, please let us know what you've configured already and what issues you're running into.

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

None
11 years 5 months ago #50048 by Creatura
Replied by Creatura on topic Joomsocial integration
Hi,
Thank you for answer.

I though everything I had set up correctly - but probably not if it's not work :-).
I have turned on activity back function. But when I make some post and publish it it's appear in my website, but not send to facebook board.

Please, can you have a look at this on my site? I will send you private message with login/password - when you have bit of time please take have a look at this.

Anyway I think with making actions for sending photos I will wait wait until massages sending start works - becouse maybe something is setup incorrectly.

I will be waiting for your answear.

Thank you.
The topic has been locked.
Support Specialist
11 years 5 months ago #50051 by alzander
Replied by alzander on topic Joomsocial integration
If your application asks for more than a few basic permissions (which yours is doing), you will need your application reviewed by Facebook before the action can be used by users other than the app developers. Because the 'publish_actions' permission is required for posting the JomSocial status to the wall, you will need to go through this process. As far as testing from our side, I can verify that the publish_actions is included in the scope for logging into Facebook, but I am not being prompted to accept this permission, most likely because your app has not been submitted yet.

You can test with a developer of your Facebook application without going through the review process yet. Can you make sure the user you are authenticating with on your site is a developer of your Facebook application and then attempt to post to the JomSocial wall? Please also verify that the 'publish_actions' permission is accepted for that developer in your Facebook account (by going to Settings > Apps and edit your app).

If you have already gone through the review process, however, please let us know.

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

None
11 years 5 months ago #50054 by Creatura
Replied by Creatura on topic Joomsocial integration
Thank you.
I will make those changes and I will back with results (hope just to say it's working :-))

Thanks.
The topic has been locked.
Active Subscriptions:

None
11 years 5 months ago #50061 by Creatura
Replied by Creatura on topic Joomsocial integration
I made some progress :-)

As you said I need to be login with the same account as the developer - now I see status on my FB wall.
Problem with posting status is only when I put some icone (smiles) - post is not send to FB - do you know why?

Above problem is not big (but will be nice if you know solution) - the big one is with Open Graph... I'm still have a problem with sending photos to FB wall.
Please let me know if make all necessery steps:
1. Add object in developers tool
2. Add action in developers tool
3. Make story in dev tool
4. Add object in JFBC component
5. Add action in JFBC component

Is this everything what I need to do? And I'm doing something wrong, or maybe I miss something?

I was carry to make same names for objects and actions in FB developers tool as in JFBC Componnent.
I'm have not idea where I make mistake...
The topic has been locked.
Active Subscriptions:

None
11 years 5 months ago #50063 by Creatura
Replied by Creatura on topic Joomsocial integration
To make sure that is not problem with jomsocial I was trying to add button to article exactly as described here:
www.sourcecoast.com/jfbconnect/docs/open-graph/actions/

I have button, I can add comment, but after click send to FB nothing happens...


:-(
The topic has been locked.
Support Specialist
11 years 5 months ago #50065 by mel
Replied by mel on topic Joomsocial integration

As you said I need to be login with the same account as the developer - now I see status on my FB wall.
Problem with posting status is only when I put some icone (smiles) - post is not send to FB - do you know why?

This is something that we'll have to look into, but hopefully should be easy to reproduce.

Above problem is not big (but will be nice if you know solution) - the big one is with Open Graph... I'm still have a problem with sending photos to FB wall.
Please let me know if make all necessery steps:
1. Add object in developers tool
2. Add action in developers tool
3. Make story in dev tool
4. Add object in JFBC component
5. Add action in JFBC component


1. The easiest thing that you could do is to take a screenshot of each of these configurations and post it to the thread. That way, we can see if there are any obvious mistakes. Sometimes, the problems could be something as simple as capitalization of your objects/actions.
2. Could you look at JFBConnect > Open Graph > Activity Logs in the backend and let us know what you see? This will show any errors about the action being posted and is very helpful to see what the issue may be.

-Melissa
The topic has been locked.
Active Subscriptions:

None
11 years 5 months ago #50088 by Creatura
Replied by Creatura on topic Joomsocial integration
Thank you Melissa.

I made another step and at the moment I can see post on FB wall, also I even can see action after clicked button in article, now I'm trying to run with adding photos to FB wall...

I have error:
"Object at URL 'dyskusjapubliczna.pl/index.php/dyskusje/...albumid=7&photoid=30' of type 'dyskusjapubliczna:gallery' is invalid because the given value '/images/photos/277/7/d3fde5fb6565a7157e2bdf14.png' for property 'og:image:url' could not be parsed as type 'url'."

Do you know how to fix this issue?

Thank you.
The topic has been locked.
Support Specialist
11 years 5 months ago #50091 by mel
Replied by mel on topic Joomsocial integration
The latest version of JomSocial adds only partial URL's for the og image tags, which is incorrect.

In the JomSocial file /components/com_community/helpers/head.php around line 125, can you comment out the following by adding /* and */ around the code block:
/*if ($images !== null) {
   foreach ($images as $image) {
      self::addOpengraph('og:image', $image, true);
   }
}*/

Try again after this and let me know if that helps.

-Melissa
The topic has been locked.