open graph and joining a jom social group

open graph and joining a jom social group

HI Alex ,

Lets try this again.
I re upped my subscription and apologize for being short.

I'm trying to get the ability for Jomsocial to use open graph and post to a persons time line when they join a group.
I keep getting an invalid parameter error on the log . I have screen shots to show what I have set up so far. I read the forums and found others having the same examples and tried even commenting out the one header.php  lines that were suggested in a prior post. So confused right now.

Walt

https://www.sourcecoast.com/images/agorapro/attachments/27821/mini_action.jpg

https://www.sourcecoast.com/images/agorapro/attachments/27821/mini_action.jpg

https://www.sourcecoast.com/images/agorapro/attachments/27821/mini_object.jpg

https://www.sourcecoast.com/images/agorapro/attachments/27821/mini_fbstory.jpg

https://www.sourcecoast.com/images/agorapro/attachments/27821/mini_fbaction.jpg

wizzard33
Walter
useravatar
Offline
16 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: open graph and joining a jom social group

First, it shouldn't be set as Explicitly Shared. Since this happens when the user clicks the "Join" button in JomSocial, and there's no notification that it will post to their timeline, it's not an explicit post. I can't see it, so also make sure that you've properly associated the action to the object.

I don't think that's the cause of the error though. Can you let us know the exact error message you're getting in the Activity Log in JFBConnect? That will help narrow things down. The setup seems correct.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24010 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: open graph and joining a jom social group

https://www.sourcecoast.com/images/agorapro/attachments/27821/mini_image.png


I just get invalid parameter from Facebook

Hope this helps

Attachments:
wizzard33
Walter
useravatar
Offline
16 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: open graph and joining a jom social group

1. Please post pictures of the object and the action from Facebook. Specifically, open each up in your FB application > Open Graph area, scroll down to the bottom for each to the "Advanced Options" section and take screenshots of those area. A common culprit is that the namespace or the types may be wrong. Also please note that Facebook is case-sensitive for these values, so please match your objects/actions exactly as they're set in the application.

For instance, on your altconnect/groups/viewgroup/68-test page, after looking at the source, if you have your object set correctly in JFBConnect, then the value in the Advanced Options section would be

Code:

jgroup <meta property="og:type" content="allamericanthrills:jgroup">

2. Second most common culprit is the need to re-scrape your group page. If you've made any changes to the objects/actions, the Open Graph tags on the page may change (like the og:type that I mentioned in #1). Use the Facebook Open Graph Debugger, enter your URL, click Debug, then click Fetch New Scrape Information.

Try the above two suggestions/questions and we'll go from there.

-Melissa

Want to stay up-to-date on new releases and development efforts?
Follow us on Twitter @sourcecoast and @mandreae

mel
Melissa
useravatar
Offline
3581 Posts
Website 
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: open graph and joining a jom social group

Here are the screen caps of the object and action

https://www.sourcecoast.com/images/agorapro/attachments/27821/mini_jgroup.jpg

https://www.sourcecoast.com/images/agorapro/attachments/27821/mini_join.jpg

wizzard33
Walter
useravatar
Offline
16 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: open graph and joining a jom social group

Here is the result of the facebook scrape
https://www.sourcecoast.com/images/agorapro/attachments/27821/mini_dump.jpg

Attachments:
wizzard33
Walter
useravatar
Offline
16 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: open graph and joining a jom social group

Alright.. we're making progress. What you show above looks good. Running an actual group URL through the Facebook Debugger provides more insight. Using:
altconnect/groups/viewgroup/45-quassy-amusement-park
The OG Debugger shows that the underlying page is really:
/index.php?option=com_community&view=groups&task=viewgroup&groupid=45&Itemid=671

If you scrape that URL, you'll get the following errors:

Object at URL 'http://www.allamericanthrills.com/index.php?option=com_community&view=groups&task=viewgroup&groupid=45&Itemid=671' of type 'allamericanthrills:jgroup' is invalid because the given value '/altconnect' for property 'og:see_also' could not be parsed as type 'url'.

That's the parameter error because JomSocial is incorrectly adding the following tags:

Code:

 <meta property="og:see_also" content="/altconnect"/>

  <meta property="og:see_also" content="/altconnect/groups/display"/>
  <meta property="og:see_also" content="/altconnect/photos/display"/>
  <meta property="og:see_also" content="/altconnect/videos/display"/>
  <meta property="og:see_also" content="/altconnect/events/display"/>

Please follow the instructions in this thread on how to fix the issue with JomSocial.

Then, re-scrape the page in Facebook to make sure there are no more errors.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24010 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: open graph and joining a jom social group

OK, I did the edits, I'm hoping this is all correct. If somethings wrong let me know.

Thanks
https://www.sourcecoast.com/images/agorapro/attachments/27821/mini_edits.jpg

Attachments:
wizzard33
Walter
useravatar
Offline
16 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: open graph and joining a jom social group

Something is wrong.

I did the edits and now JomSocial won't load. 

I edited it back just in case. I upgraded to the newer version of Jomsocial. Not sure if that will make a difference.

wizzard33
Walter
useravatar
Offline
16 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: open graph and joining a jom social group

I just made the code change to your /components/com_community/helpers/head.php. For a simpler change that the previous changes I mentioned, I just commented out lines 63 and 73, which is essentially doing the same thing to remove JomSocial from setting any Open Graph tags. I made a comment in that file that those lines were changed by us, so you don't have to remember the line numbers in case you upgrade JomSocial - we're also in the process of contacting the JS team to talk about their Open Graph tags being set incorrectly.

I then re-scraped the pages for /index.php?option=com_community&view=groups&task=viewgroup&groupid=45&Itemid=671 and altconnect/groups/viewgroup/45-quassy-amusement-park. The og:type on those pages are now "allamericanthrills:jgroup" which matches the setting in your new screenshot for the Open Graph object.

Since that seems better now, so can you try the action again please and let us know if there's any improvement?

-Melissa

Want to stay up-to-date on new releases and development efforts?
Follow us on Twitter @sourcecoast and @mandreae

mel
Melissa
useravatar
Offline
3581 Posts
Website 
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: open graph and joining a jom social group

Thank YOU!!!!!!!!

It works!

Lastly is there anything different I need to know to get the app approved by facebook that might of changed since the making of your documentation? I need to get the app approved yet but didn't want to send it in till the app worked and I had my ssl certificate installed.

wizzard33
Walter
useravatar
Offline
16 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: open graph and joining a jom social group

WOOOOOO HOOOOOO! current/smile Very glad to hear it's working for you now. We have more Open Graph Actions that will be available in the next release, along with the Joomla social auto-posting feature.. so glad to hear you got it going.

As for the submission process, it's generally pretty straightforward. It can take some work to describe the process, and please make sure you give URLs and examples of how to test. Beyond that, ensure you aren't selecting any permissions (explicitly shared, friend tagging, etc) that you aren't using, otherwise they won't be able to test that permission and the entire submission will be denied.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24010 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: open graph and joining a jom social group

Hi guys

We will implement this change in JomSocial core from version 4.2.0

Regards,

Sinisa Krisan
JomSocial Team

miffyboy
useravatar
Offline
1 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: open graph and joining a jom social group

Sinisa,
Great news! Thanks for letting us know a fix is coming on your end as well.

Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
24010 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11607
Total Polls:
0
Total Posts:
48789
Posts today:
12
User Info
 
Total Users:
47656
Newest User:
vulawoffice
Members Online:
2
Guests Online:
753

Social Stream
SourceCoast Joomla Social Extensions
Friday, 25 May 2018
JFBConnect 8.0 Coming Soon! Stay tuned.
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program