× Joomla Facebook Connect support forum

Topic-icon Submitting open graph action

Support Specialist
11 years 3 months ago #29825 by alzander
Neil,
Glad to have some confirmation of that experimental setting.. that it both works and doesn't cause any unforeseen issues. We'll likely be enabling that by default in the next release and then removing it altogether if that doesn't cause any problems.

I just ran the Error Checker on your page, and I'm not seeing the warning about multiple Javascript libraries on the page anymore, so I think you fixed that problem.

As for the warnings, none of those should cause you problems when submitting your actions. Some notes on each though:

Open Graph Warnings That Should Be Fixed
Meta with name instead of property
The meta tag on the page was specified with name 'author', which matches a configured property of this object type. It will be ignored unless specified with the meta property attribute instead of the meta name attribute.

This is an issue with an Open Graph tag that K2 incorrectly puts on the page, but it's not a problem.. and something we'll be fixing in a future release.

Message from scrape
Like Button Warnings That Should Be Fixed
Like Button Tag Missing
og:image is missing. The og:image meta tag is necessary for Facebook to render a News Feed story that generates a high click-through rate.

You should try to set an image for each article on your site, in general. It's not required for Open Graph Actions, but it helps the chances of your Actions posting to a user's (or their friends) feed. In the object settings in JFBConnect, you can set a few different ways that an image tag will automatically be generated for your page. Additionally, you can set a default image to use across your site in the Open Graph - Settings area.. that's good for setting a logo or something that will be used as a default in all news feed posts that don't get an image automatically generated. Finally, you can also add the {SCOpenGraph image=http://site.com/path-to-image.jpg} tag in any article or anywhere else on the page to specifically set the image for that page.

Hope that helps answer your question. In general, I'd say you're ready to re-submit. When you do, make sure you note that you feel you've addressed the issues and really re-tested. There are real people reading these submissions, so you want to make sure they know you took the time to try to fix any issues you had.

Best of luck,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #29842 by fb_721883146
Hi Alex,
Thanks for running the error checks:) I can also confirm that i now have no errors in the jfb autotune. Happy days:)

Also thanks for the advice on the scrape errors! I will make some change and do some testing and let you know how it get on!

Ok i'll resubmit the action and see what happens, fingers crossed:) If that goes well i'll setup and submit the join group and upload album actions!

Again thanks for all the help and brilliant support, on a week end as well! Outstanding!


Neil
The topic has been locked.
Support Specialist
11 years 3 months ago #29844 by alzander
No problem for the support, Neil, that's what we're here for. Thank you for your subscription which allows us to develop and support our extension and your feedback which helps us improve things along the way.

If you need anything else, let us know. Hopefully your submissions will be approved. Denials are a fact of life though, so if it happens again, that's ok.. we'll help get you going!

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

None
11 years 3 months ago #29956 by fb_721883146
Hi Alex, i've been a quite a mission trying to get these actions submitted! Wow these facebook devs must be like robots!

What ive done so far:
I have submitted 2 actions. The Read Article action and the join groups action. The Join Groups action has gone through fine with not many problems, (just 1 resubmit)That action is now up and running, but the real problem has bee the Read Article!

Here's what's happened with the read Article:
I submitted the 1st time and as you know it got sent beck with a couple of fixes to do! They got fixed and was resubmitted.

It was then sent back for a second time and facebook sent me a note back saying:
I must give the details of the FB test user that was created when submitting. I now realize that the user that was created when i first created the application was the one they wanted. (You should add this in with your docs). So i then resubmitted with the correct details.

Facebook then sent it back a third time saying that i had to provide a link to where a user can delete his action. So i sent the action back ounce again with the updated information.

This is what i submitted last time:

This action is implemented using JFBConnect for the Joomla CMS.
Action Type: Read Article

1.Log into facebook with my fb test user account that i made when submitting.
Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Password: t*********1

2.Then go to www.wingchun-kungfu.co.uk and click the login with facebook button on the right hand side of the site.

3.After you've logged in click on the link called articles at the top of the page under the site logo. This will take you to the articles front page!

4.when on the articles front page choose any of the articles by clicking on the read more link or the article name link. This will take you into the main article!

5.now that you are on the article the action will trigger within 15 seconds and a blue popup box will appear in the bottom right hand corner of the article page showing the user the action has been taken. This also gives the user access to his published actions to fb and global on/off settings.
Direct link to action page:
www.wingchun-kungfu.co.uk/general-wing-c.../64-long-bridge.html

I have also placed a menu on the right hand side off every article, named MY Fb Stories. This will also let the user access his/her actions or global on/off setting at anytime.

Direct link to users fb activity
www.wingchun-kungfu.co.uk/profile/fb-pos...raph&layout=activity

Direct link to global on/off settings
www.wingchun-kungfu.co.uk/profile/fb-pos...raph&layout=settings

I have tested this action on my account and 5 test accounts and everything is ok with no errors and the actions are posting to the users activity log.

I have reviewed the changes that need to be made. I have now given you the details of the fb test user that was created when setting up the app.

Thanks neil
.......................................................................................................................................
Now the action has been sent back yet again:( with is message:

Approval Status:
Changes needed
Please make the changes below and resubmit for review.
You will need to make some changes to your built-in read action before we can continue with the approval process. You must provide users with the ability to remove any read stories you publish to Facebook, and **include this option on the same page where you host the article. Once you have made the appropriate changes please resubmit. For further information, please see: developers.facebook.com/docs/opengraph/s...iteria/builtin_read/ **If you are submitting an action for a native mobile app please include a video that references all of the criteria outlined above**

What am i doing wrong Alex???

Is it because i did'nt put the last bit of instruction on how to delete your actions in a numbered list! I dont understand, i have give them everything they have asked for. I even created a menu on every article page so a user could get to his published actions at any time. Plus there is also the blue popup box in the bottom right!!!

They have tested the action because when i go in to jfb back end, the action shows up but it has a status of deleted!

Not sure where i go from here! Any ideas Alex?

Thanks neil
The topic has been locked.
Support Specialist
11 years 3 months ago #30011 by alzander
Neil,
Yup, I think you'll need to spell it out a little more for them, unfortunately. The menu link to the activity isn't what they're looking for, so that's not something that pointing out will help much with. They mainly want to know that the user can delete the action directly from a link on the same page. What I'd recommend is increasing the blue-box popup limit so that it stays on the page longer and should be more noticeable to the tester. To do so, edit the /components/com_jfbconnect/includes/jfbconnect.js file. Search for 15000 and you'll find:
setTimeout("$('ogActionPopup').fade('out')", 15000);
Either comment that line out, or change 15000 (15s) to something like 120000 (2 minutes).

Then, re-submit, again, and make sure you say "The action can be deleted directly after it's posted by clicking the link in the blue-box popup. Additionally, if the user re-visits the page, the blue-box popup will still appear and allow the user to delete the action then"... or something like that.

Sorry for all the troubles you're running into. We'll likely be increasing that 15s timeout to something more like a minute in the next release as it seems to be missed by the Facebook approvers a little too much (though many times, the actions are being approved without any problem).

Keep us posted, and as always, good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #30015 by fb_721883146
Hi Alex, ok i'll go make the change to the .js file and then resubmit with the extra info. And about the trouble thats fine, i love it. All trial and error!! he he:)
Fingers crossed, let go again! Yep i'll keep you posted on the outcome.

Neil
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #30018 by fb_721883146
HELP!
Alex, something has upset the login procedure of my site. i'm now unable to login with the FB login button!
I changed the code in the .js file as you advised and then went to test the change i made, there was no change in the time the pop up stayed on screen. so i cleared my browser and server site cache and then bang i was no longer able to login.

Getting this error in the console:
[blocked] The page at www.wingchun-kungfu.co.uk/ ran insecure content from s7.addthis.com/js/250/addthis_widget.js.
[blocked] The page at www.wingchun-kungfu.co.uk/ ran insecure content from fonts.googleapis.com/css?family=Cuprum.
[blocked] The page at www.wingchun-kungfu.co.uk/ ran insecure content from fonts.googleapis.com/css?family=Yanone+Kaffeesatz.
[blocked] The page at www.wingchun-kungfu.co.uk/ ran insecure content from s7.addthis.com/js/250/addthis_widget.js.
Uncaught SyntaxError: Unexpected token , jfbconnect.js:1
Uncaught ReferenceError: jfbc is not defined www.wingchun-kungfu.co.uk:196
[blocked] The page at www.wingchun-kungfu.co.uk/ ran insecure content from fonts.googleapis.com/css?family=Cuprum.
[blocked] The page at www.wingchun-kungfu.co.uk/ ran insecure content from fonts.googleapis.com/css?family=Yanone+Kaffeesatz.
3
Uncaught ReferenceError: jfbc is not defined all.js:75
Uncaught SyntaxError: Unexpected token < ajax_1.3.js:1

Could you please have a quick look and see whats going on.

Thanks alex. Ha ha don't love problems anymore. lol

Neil
The topic has been locked.
Support Specialist
11 years 3 months ago #30019 by alzander
It's a little tough to tell because your site is minimizing our jfbconnect.js file. However, it looks like you removed the ; from the end of this line:
setTimeout("$('ogActionPopup').fade('out')", 15000)
That needs the ; at the end.

Also, I realized that you're on Joomla 1.5. If you're not using the Mootools upgrade - System plugin, about 5 lines under the line above is another line with 15000 in it. Change the setting there to 120000 instead... don't remove the ; though :)

Alex
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #30044 by fb_721883146
Wahooo, all up and running Alex! The Read Article action submission was successful and every thing is working as it should do:-)
You were correct about me removing the ( ; ) from the end of the setTimeout line of code. Whoops silly me! (red face)..
Also not sure what was wrong with the moto tools upgrade plugin. It was enabled in my joomla back end! So anyway i disabled it then re-enabled it and then followed your first instruction to extended the time of the blue pop up box, resubmitted the action to fb and all is now fine...

Going to setup the upload album action next... Should go a bit smother on this one :)

Thanks again for the great support Alex

Neil
The topic has been locked.
Support Specialist
11 years 3 months ago #30083 by alzander
Neil,
Very, very happy to hear you got things going with the read action and the minor code typo :) It happens.

Best of luck with the photo upload action. I know I just responded to a post from you about that, but hopefully that will go smoother overall than the read action process.

Alex
The topic has been locked.