Topic-icon 406 Not Acceptable Error when creating action for jomsocial

Support Specialist
Ivan,

I have created the object and the action via the backend. Do I need to add any custom code with the OG tags where the page renders? IE do I have to add any code to the jomsocial functions that would render the actual page?

The Open Graph features of JFBConnect should automatically add the tags and perform the action as necessary. However, if you created a custom action or something, you may need to add your own code to trigger things.

Can you let me know the type and settings for the object and action you created? That will help us narrow down what needs to be done.

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

None
13 years 4 months ago #30527 by Ivan
The type is Photo


Properties:
NameTypeSetting
og:urlURLRequired
og:titleStringRequired
og:imageImage[]Required
og:descriptionStringRequired


Action type is Upload

Connected to Object types video and photo


Properties:
NameTypeSetting

otherReferenceRequired
photoReferenceRequired
The topic has been locked.
Support Specialist
Ivan,
Can you tell us how you've configured the Object and Action details within JFBConnect itself? The properties you've configured in Facebook shouldn't be a problem. It's how you've setup JFBConnect to use those objects and actions that we need to know more about. I'm assuming that nothing is showing in the Open Graph Activity Log within JFBConnect as well, right?

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

None
13 years 4 months ago #30575 by Ivan
I managed to get the action posted. I had photos as object instead of photo in the backend.

What I did is from the Status bar I selected photos tab and then selected a photo from there.

However I noticed that on the Facebook Activity log it did not show the photo and gave me the jomsocial camera icon instead. It posted something like:
Mark uploaded My Bucket List - My Bucketlist.net

I would like it to at least post a default like "A PHOTO - MY Bucketlist.net" since there is no album name or at least post the status that you are sharing as title. Is there a way Where I can edit the tags when this gets executed?
The topic has been locked.
Support Specialist
Glad to hear you got the action going.

For the image that is used, unfortunately, that's a bug with JomSocial 2.6 (and lower). JomSocial doesn't have a method to create a direct link to any specific image in a gallery, just the gallery home page itself. Therefore, Facebook grabs the gallery default image which is just the camera. There's nothing we can do about that bug as we can't control the URLs that JomSocial generates for its images. I believe this issue was fixed in JomSocial 2.8 to provide unique URLs for each image in a gallery, which can then have unique Open Graph tags for each image.

The text that is displayed can be configured in the Open Graph area of your app. For the action, you can change the 'tenses' of the action. The object noun (photo) can also be changed in the advanced area.

Hope that helps,
Alex
The topic has been locked.