× Joomla Facebook Connect support forum

Topic-icon Facebook Application approval problem

Active Subscriptions:

None
11 years 4 months ago #29198 by Morpheus
Hi,
while submitting the read action I got the following response from FB:
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. Read actions may only be published when 1.) there is a strong indication that the user is actually reading an article and only after the user has been on the page for a minimum of 10 seconds. 2.) 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. 3.) You should provide users with the ability to turn sharing on/off globally, and the setting a user selects should persist. Once you have made the appropriate changes please resubmit. For further information, please see: developers.facebook.com/docs/opengraph/s...iteria/builtin_read/ Also your action produces more than one published story when the user triggers the action. Users should not be surprised by multiple stories being published for a single in-app action. Please re-submit this action when you have made the appropriate changes. For more information, please see: developers.facebook.com/docs/opengraph/guidelines/#uex

By the way, from some reason, when the read post was fired (check on my activity log), I DON'T see a small window notification in web site...

Could these two related?
Thanks
The topic has been locked.
Support Specialist
11 years 4 months ago #29212 by alzander
Amir,
Those are definitely related issues. Without the notification for the user, Facebook won't accept the action. They don't want 'silent' actions posted to the users Timeline.

We did some testing, and the issue is with the old version of Mootools that Joomla uses by default. The action popup does work if you enable the "System - Mootools Upgrade" plugin that comes with Joomla. To fix the popup to work with the old version of Mootools, please edit the /components/com_jfbconnect/includes/jfbconnect.js file. Around line 347, you'll see:
$('ogActionPopup').fade('in');
                 setTimeout("$('ogActionPopup').fade('out')", 15000);
Change that to:
var mooVer = MooTools.version.split(".");
         if (mooVer[1] == '2' || mooVer[1] == '3' || mooVer[1] == '4') // Joomla 1.5 w/mtupgrade or J1.6+
         {
                $('ogActionPopup').fade('in');
                 setTimeout("$('ogActionPopup').fade('out')", 15000);
         }
         else
         {
                 $("ogActionPopup").fx = new Fx.Style($("ogActionPopup"), 'opacity', {duration: 2000}).start(1);
                 setTimeout('$("ogActionPopup").fx = new Fx.Style($("ogActionPopup"), "opacity", {duration: 2000}).start(0)', 15000);
         }
Test, a lot, to make sure that works. It's not good to submit a lot of actions to Facebook that will get denied, so please make sure that everything in our guide works as described before you submit again.

Hope that helps, but if you run into other issues, let us know... and thanks for pointing out that issue. We'll be including the fix in the bug-fix release for Joomla 1.5 soon.

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

None
11 years 4 months ago #29237 by Morpheus
Thanks, that solved the problem. Just resubmitted.
By the way, I recommend to add this code in the next release as "Mootools Upgrade" is causing a lot of problems to a lot of users.
:)

I left the strings in English for FB guys, and after their approval I will translate it to Hebrew and send you the strings as usual.
Thanks for your help
The topic has been locked.
Active Subscriptions:

None
11 years 4 months ago #29246 by Morpheus
Hi
I fixed the code and I can see the popup window and I can diasble and review the actions.
However I still get rejection:
This action type may have changes that have not yet been submitted for review.
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. Read actions may only be published when 1.) there is a strong indication that the user is actually reading an article and only after the user has been on the page for a minimum of 10 seconds. 2.) 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. 3.) You should provide users with the ability to turn sharing on/off globally, and the setting a user selects should persist. 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 is wrong now???
thanks
The topic has been locked.
Support Specialist
11 years 4 months ago #29254 by alzander
The Javascript change will definitely be in the next release of JFBConnect for J1.5. We'll be doing bug and compatibility fixes wherever necessary, and that's definitely one.

As for the current rejection, I'm not sure what the "This action type may have changes that have not yet been submitted for review. " line means at the top.

Beyond that, I'm not sure what's wrong. Can you go through each of those bullet-points and tell me if you think something is wrong with how it's working on your site? JFBConnect lets you configure things right, but without seeing your configuration, I can't guarantee it's right.. and that denial is definitely generic. Things to check:
* The page waits at least 10s before triggering the read.. I'd put it at 20 or so if you re-submit again, so it's definitely not that issue.
* The popup properly shows the "Delete and Disable" button and that that link works to delete the action and prevent future reads from sharing
* When re-loading the page, the popup appears showing that the page has already been posted in the Timeline.

If those are all working, and I'd test, test, and test again to make sure each point is hit, I'd recommend re-submitting. When you re-submit, show each of the points they show above and give an explanation of how that's met (Timer is set to 20s, popup displays in bottom right with link to delete, etc). The people that approve actions do hundreds (if not thousands) a day, so their eyes may not see everything you do. Spell it out for them.

If you see any issues where JFBConnect may not be hitting the requirements they lay out, we want to hear about it.

Let u sknow how that goes,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 4 months ago #29373 by Morpheus
Hi
I got another 2 rejection but after communicating with FB guys I now have a better picture of what is wrong:
**It appears that the blue pop-up only appears for a short period of time. Please give users an ongoing sharing toggle that remains on the screen even after a story publishes - users should not have to click away from the article to remove published articles.**

I changed the value in jfbconnect.js to 300000 (5 minutes!!!), and resubmit the app.
Will let you know when I get FB response ( I hope they won't get tired of me)
:D
The topic has been locked.
Support Specialist
11 years 4 months ago #29396 by alzander
Amir,
Your fix is exactly what I would have suggested as a temporary fix to see if that gets you going. We'll put out a question to our Facebook rep later this week to see if there's any information they can give. We're getting a little assistance and feedback from them about our Open Graph Action implementation and are implementing things as we hear them from them, and our users. Right now, there's only a few users getting rejected, but hearing your information is definitely helpful.

If that is the ultimate problem, we'll look into making a contant popup, but one that can be minimized and re-shown by the user. That's a lot more difficult than fading in and out, but with Mootools, it's certainly not out of the realm of do-able.

Let us know how your re-submission goes and thanks for your feedback and trial and error.

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

None
11 years 4 months ago #29420 by Morpheus
I got approved by FB!
Spread the word :)
The topic has been locked.
Support Specialist
11 years 4 months ago #29473 by alzander
Amir,
Thanks so much for the feedback. We'll be looking into implementing some changes to the popup to make it more static and make Facebook happier. It seems that more Joomla 1.5 users are being denied than Joomla 2.5 users, which we're also investigating. We did notice that the CSS for the popup is making the text very small in J1.5 on some templates, which may also be making Facebook unhappy.

Either way, very happy to hear you got things going and good luck with Open Graph Actions! I hope it helps and that you're enjoying things. If you need anything else, just let us know.

Thanks,
Alex
The topic has been locked.