Topic-icon Custom Object

Active Subscriptions:

None
12 years 4 months ago #41005 by ShBang
Custom Object was created by ShBang
Hi

I'm a bit confused!

I have a jomsocial site with numerous other services events, classifieds jobs and blogs using various components
I've started with Classified Ad
Created Objects and Actions in Facebook without any problem but setting Open Graph objects is confusing

I've created an object in the attached photo
The object is a classified listing which could be any item someone want to sell I have seperate objects for property and vehicles in classified ads.

Actions are selling, viewed, bought and renewed can be used on the object dependent on user action.

The component is shown in the image as com_djclassifieds

Thats as far as I got and need to know if those settings are correct I'm quite lost on the right side of the form

Thanks
File Attachment:


File Attachment:
The topic has been locked.
Support Specialist
12 years 4 months ago #41007 by alzander
Replied by alzander on topic Custom Object
Your object configuration is *almost* right. Here's the few things that don't seem quite there:
- It's unpublished - This is probably obvious, but still pointing it out.
- The query params are half correct. You have:
option=com_djclassified
view=Classified Listing
The option part is correct. The view name likely isn't. The view=xyz should be whatever is shown in the URL (when SEF URLs are turned off). You can use anything in the URL, like a catid, Itemid, or anything else that may help specify the right 'group' of listings. For instance, if all of your listings in the Classified Listings category have a URL like:
index.php?option=com_djclassified&catid=12&view=listing&id=12
index.php?option=com_djclassified&catid=12&view=listing&id=2520
index.php?option=com_djclassified&catid=12&view=listing&id=329&Itemid=23

The following are all 'common' to the listings in that category:
option=com_djclassified
catid=12
view=listing
That's what you'd put in the Query Params box. Please note, the URLs above are completely made up, so that example will almost certainly not work for your site.

For the Open Graph Tags box, you should specify any common tags you want to use for all listings, like a generic image for vehicles (on the Vehicle Object) and another for property (on the Property object), like:
image=http://yoursite.com/link-to-good-generic-image-for-listings.jpg

If you have a category for just Chicago, you could even add Open Graph tags to just that category's object, like:
latitude=25.4
longitude=36.9
I hope that helps explain a little bit more. Once you think you have tags setup for a page, you can always check them with the Facebook URL Debug Tool:
developers.facebook.com/tools/debug

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

None
12 years 4 months ago #41032 by ShBang
Replied by ShBang on topic Custom Object
Sorry a bit thick this weekend I still don't get this

I want a user who is selling something to be able to post their for sale items to their FB timeline etc
Additionally want a user to post that they have viewed a for sale item
I want a user to be able to post when they purchase something

It could be any user viewing selling any item and not sure how I point to this

Totally
File Attachment:

lost
The topic has been locked.
Active Subscriptions:

None
12 years 4 months ago #41033 by ShBang
Replied by ShBang on topic Custom Object
Sorry a bit thick this weekend I still don't get this

I want a user who is selling something to be able to post their for sale items to their FB timeline etc
Additionally want a user to post that they have viewed a for sale item
I want a user to be able to post when they purchase something

It could be any user viewing selling any item and not sure how I point to this

Totally
File Attachment:

lost
The topic has been locked.
Active Subscriptions:

None
12 years 4 months ago #41034 by ShBang
Replied by ShBang on topic Custom Object
where do I find this info
Input URL, Access Token, or Open Graph Action ID from the FB debug page
The topic has been locked.
Support Specialist
12 years 4 months ago #41049 by alzander
Replied by alzander on topic Custom Object
The Input URL is simply the page from your site that you want to 'test'. It can be any URL on your website. Once you enter it in the Debug Tool, Facebook will scan that page and let you know the Open Graph tags and other information it detects on your page.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 4 months ago - 12 years 4 months ago #41056 by ShBang
Replied by ShBang on topic Custom Object
Hi

I've read and read and think I must be close as I only got one error (sort of) on the debugger regarding image size.

I used a vehicle ad URL in the Facebook debugger and got the details for Property listing so still work to do but found "Page Overrides" on your help and think that will fix this ?

I may be using my actions wrong as in using a Viewed and LIsted on many types of Objects I have enclosed screenshots of a few screens to show all my settings. Would you please look these over and let me know if I'm on track before I proceed to the next steps

Here are some sample URLs I was getting all messed up with itemid= and not sure that applies to my situation.
shbang.co.nz/index.php?option=com_rseven...ventspro&Itemid=1715

shbang.co.nz/classifieds/classified-cate...rs,13#dj-classifieds



shbang.co.nz/index.php?option=com_djclas...d=703#dj-classifieds


shbang.co.nz/index.php?option=com_djclas...d=913#dj-classifieds
Thanks

Pete

File Attachment:


File Attachment:




File Attachment:


File Attachment:


File Attachment:
Last edit: 12 years 4 months ago by ShBang.
The topic has been locked.
Support Specialist
12 years 3 months ago #41102 by alzander
Replied by alzander on topic Custom Object
For the image size warning, I wouldn't worry about that. It shouldn't prevent your actions from posting, it just means that Facebook may not use the image that's specified in the og:image tag.

As for the objects, on this page:
shbang.co.nz/index.php?option=com_djclas...d=703#dj-classifieds

The og:type is set as "company". I'm not sure where that's coming from. Some object you created is setting that, or you've used an override. From the above images, the og:type should be "Classified Listing".

Speaking of which, object types generally don't have spaces. Please click the "Get Code" link in the Facebook developer area for the object you're trying to use. Go to the Tags or HTML tab and look at what the og:type is being set there... then, use that in the Object area of JFBConnect.

I hope that helps make some more progress!

Thanks,
Alex
The topic has been locked.