Forum is closed

Submitting open graph action

Submitting open graph action

Hi Alex,
Just a quick questions before i submit my og actions! When i clicked on the submit link in facebook, the notice in the text area told me i needed to provide any information they need and gave a example (e.g stage url, username and password). Would the stage url be my website address? And what username and password would they want? My Facebook one i take it!!! Not sure:/
Just a little bit stuck what info i should give them!!!

Thanks neil

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

Re: Submitting open graph action

Neil,
Before you submit your actions, we highly recommend going over our Facebook Open Graph Actions for Joomla configuration guide. Specifically, make sure you read the "Testing your Open Graph Actions" and "Submitting your Actions to Facebook" sections. That will show you how to create a test user and provide the information you need to Facebook.

If you think something is missing there, just let us know.

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
24163 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Submitting open graph action

]Hi Alex,
Yes i followed your documentation and everything is working as explained in your docs. I've done all the testing and everything seems to be fine. The actions are posting to my activity log and my girlfriends activity log, who i'm using as a test user!

My problem is that when i click on the submit link facebook is asking me for information that is not in your docs.
Here's the exact text from facebook:



Please outline each step a user should take to publish your action. Include any information we need to complete these steps (e.g. staging url, username, password). Here's an example:

1. Go to www.clothingapp.com and sign up with your Facebook account
2. Click on any outfit
3. Click the Comment button
4. Enter your comment
5. Click the Add Comment button. Your comment will post to your ClothingApp account and Facebook timeline.

If you are submitting actions for a native mobile app or a game please upload screenshots with your submission. When submitting app screenshots, please show us the entire in-app user flow including optional action properties and the action published back to timeline."


It's just the part where it says: (e.g. staging url, username, password) I dont see this in your docs. Everything else seems straight forward!

I've also attached you a screen dump of it.
http://www.sourcecoast.com/components/com_agora/img/members/1469/submit-box.jpeg

Thanks.  Neil

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

Re: Submitting open graph action

Ahh.. gotcha.

The staging URL is simply the site that you have the action setup on. Not everyone implements the action on a live site, but if yours is 'live', send the approver there.

As for username/password, I believe you should just put your test user's name in there that you created. You shouldn't send your Facebook credentials as I don't think that's necessary or wanted. I'll have to look into what they mean a little bit more there as I haven't noticed that text before. If nothing else, say "Use any Facebook account, including our test user Mark Zlkjalkjslkdjfl". Of course, make sure you've tested with that account and deleted the action from their Timeline and JFBConnect (so that it's able to be posted again).

Hope that helps, but if you run into any issues during the submission process, just let us know.

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
24163 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Submitting open graph action

Alex,
thanks for the info. That's got me sorted now. I've submitted my first action, with your help. Thanks:)
I wasn't aware i had to make a test user for my app! I simply made my girlfriends account a test account for the app. Whoops!

Sorry i have another problem now:(
After submitting the action (that when well) it said it would take 3 working days to publish! So i went ahead to the second step of my open graph mission and set up the jomsocial join group action. The action publishes ok to my admin account and my girlfriends test account, but when i try the action on my test user account the action does not post to the test users fb activity log and i get an error in jfb back-end saying:

An active access token must be used to query information about the current user.

Do you have any idea why this is happening? Is it because its not a built in fb action?

Would love to go to the next step, but just a bit worried about this error.

Thanks neil

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

Re: Submitting open graph action

Neil,
Glad you got the bit about the Test User. It's a bit confusing as most people do think they just need to 'test with a user'. We've tried to make our guide pretty clear on that point, but we realize people skim current/smile

The 3 days timeline is a guideline. We've seen actions approved in a few hours.. and others have taken up to a week. It's a manual process that real people have to do, so it can take time depending on how many other users are creating actions.

As for the "Active access token" error, I'm not sure about that one. I'm assuming you've tested multiple times with the test user. There's a few things to try:
* Before you switch to the test user, close your browser and clear your cache. Then, log into Facebook and switch to the test user. Then go to your website the first time. That will make sure that no stale data is used.
* If that still doesn't work, please create a new test user and in the popup, make sure that "Authorize this App" and "Enable Ticker" are both checked. Not sure why, but that seems to help things for a few of the tests.

Of course, let us know how that goes and we'll help investigate further if necessary.

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
24163 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Submitting open graph action

Thanks Alex,
clearing the browser cache did the trick. The join group action seems to be working fine on all 3 account now:)

I think i remember getting the email address and password of my the user and signing out of my admin account and signing bad into fb with my test users details instead of clicking on the (switch to) link in the test users section.
Maybe a access token has to be brought over from the admin account in order for the action to work.  Just a guess!!  I'm not a coder or anything:)

Here's a screen shot of the published actions in jfb backend
http://www.sourcecoast.com/components/com_agora/img/members/1469/jfb-backend.jpeg

Really happy thing have gone so well:)

I will now submit my joint group action and then go on to set up upload photo.

I'll let you know how everything goes after facebook get back to me.

Thanks for the first class support

Neil

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

Re: Submitting open graph action

Mmmm, Ha maybe i was a little hasty saying everything was going well. lol

The action has just been sent back for review!!

It seems like the article i instructed facebook to test the action on is not working correctly. Basically i have 8 categories with at least one article in each cat, i tested 7 categories and left the one category for facebook to test on, Just my look that:). Now i realise i should of tested each and every category with my test users instead of just presuming they would be ok.   So i suppose my first question is;

When my test users action is published correctly how do i then delete the action in the jfb activity log? So i can recheck the action a few times? I know the actions can be deleted in the fb activity log, but in the back end of jfb their is only a check box next to actions that have an error.

..........................................................................................................................................................
Ok now i'll go over my Submission review.

Here's what i sent fb in the submission:

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

1.Log into facebook with my test user account.
Email: [email protected]
password: s*********9

2.Go to https://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 top 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!

Direct link to action page:
https://www.wingchun-kungfu.co.uk/gener … ridge.html
I have tested this action on my account and 2 test accounts and everything seems to be ok with no errors and the actions are posting to the users activity log.
Thanks neil

Also sent them screenshots..
Is this information ok???
........................................................................................................................................................
And here's what i got back
Approval Status:
Changes needed
Please make the changes below and resubmit for review.
We are unable to test this action according to the usage instructions provided. Please test your action with the test user created during the submission process called Open Graph Test User. Do not submit for approval unless you have been able to consistently publish actions to the timeline of this test user with the reproduction steps provided. https://developers.facebook.com/docs/op … ntication/

What do fb mean by this: (Please test your action with the test user created during the submission process called Open Graph Test User.)  Do they mean the one(s) i created in my developers role section???
.........................................................................................................................................................
Ok so after getting back the review i went back over all you docs and rechecked everything. Here's what i found!

When i ran autotune again i noticed that i had this error warning!
Test: Facebook Javascript library inclusion
Warn: Another Facebook extension is installed, including the Facebook Javascript library, and may conflict.

How would i find out where the other  javascript library is coming from and is it a problem?

...........................................................................................................................................................

I tested the read action myself that i had given them and yep the action failed and a error turned up in the back end of jfb. Its just one category with 2 articles in that i'm having problems with.

Links to articles.
https://wingchun-kungfu.co.uk/general-w … ought.html
https://wingchun-kungfu.co.uk/general-w … ridge.html

Screen shot of jfb errors
http://www.sourcecoast.com/components/com_agora/img/members/1469/Submit-erros.jpeg

...........................................................................................................................................................

Also when i when to the article page i noticed a bit of stray code out of place or not being rendered and a twitter button that looks lost:)   (top of page)
Here's a screen shot
[url=http://www.sourcecoast.com/components/com_agora/img/members/1469/Stray-code.jpeg]
http://www.sourcecoast.com/components/com_agora/img/members/1469/Stray-code.jpeg[/url]

Could this be my problem?

Sorry about the long post Alex.

And thanks for any help in advance:)                Neil

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

Re: Submitting open graph action

To delete your activity from JFBConnect, go to the following link on your site (when logged in):
/index.php?option=com_jfbconnect&controller=opengraph
From there, you can see the actions posted and they will be deleted from FB and the JFBConnect logs. Users can get to that menu item:
* From the Joomla User Details Page - JFBConnect will automatically add links for it
* In the blue popup that appears
* By creating your own Menu Items to it in the Joomla Menu Manager

Definitely test, delete, rinse and repeat current/smile

Javascript Library Conflict
There's a module or plugin on your site creating a div called itp-share-mod-fbl that's also re-including the Facebook Javascript library. That module/plugin should be disabled, or if it's an option, have it not load the FB JS Library.

Weird Tag
In the Configuration -> Misc tab, under "Experimental", please enable the only setting ("Strip tags from head" or something like that). That will hopefully remove the tag from the top of the page. Please navigate to a lot of pages on your site to make sure this doesn't have any unwanted affects.. it is experimental.

Failed Submission
I think testing again after the tag issue is fixed will help. Once you've enabled that setting, try running your page through the Facebook Debugger below:
https://developers.facebook.com/tools/d … ought.html
Right now, it's throwing an error because of that tag.. which is also probably preventing the action from triggering. When working, the og:type should be set to "article" as you'd expect.

Keep us posted, and good luck, as always!
Alex

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

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

Re: Submitting open graph action

Thanks Alex,
Changing the settings in the configuration tab to (strip tags from head), worked a treat:) The 2 pages in question now have no error when testing!! and the weird tag has gone!
I still cannot find the conflict with the JavaScript library. I had 2 modules from itp share and have disabled them both, but still get the error in jfb back end!!

All READ actions are now publishing correctly to all test users accounts.

But before i submit the action do you think the library issue will be a problem? Also when i do the debug i get 2 errors back from the scrap.

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.

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.

Although all actions are publishing correctly do you think the couple of warnings will be a problem when facebook come to test my action.

Gonna do lots more testing while you get back to me!

I'm close i can feel it! Just no fat cigar yet:)

Thanks
Neil

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

Re: Submitting open graph action

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

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

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

Re: Submitting open graph action

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

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

Re: Submitting open graph action

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

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

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

Re: Submitting open graph action

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: [email protected]
Password: t*********1

2.Then go to https://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:
https://www.wingchun-kungfu.co.uk/gener … ridge.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
https://www.wingchun-kungfu.co.uk/profi … t=activity

Direct link to global on/off settings
https://www.wingchun-kungfu.co.uk/profi … t=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: https://developers.facebook.com/docs/op … ltin_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

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

Re: Submitting open graph action

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:

Code:

                    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

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

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

Re: Submitting open graph action

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

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

Re: Submitting open graph action

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 https://www.wingchun-kungfu.co.uk/ ran insecure content from http://s7.addthis.com/js/250/addthis_widget.js.
[blocked] The page at https://www.wingchun-kungfu.co.uk/ ran insecure content from http://fonts.googleapis.com/css?family=Cuprum.
[blocked] The page at https://www.wingchun-kungfu.co.uk/ ran insecure content from http://fonts.googleapis.com/css?family= … affeesatz.
[blocked] The page at https://www.wingchun-kungfu.co.uk/ ran insecure content from http://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 https://www.wingchun-kungfu.co.uk/ ran insecure content from http://fonts.googleapis.com/css?family=Cuprum.
[blocked] The page at https://www.wingchun-kungfu.co.uk/ ran insecure content from http://fonts.googleapis.com/css?family= … affeesatz.
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

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

Re: Submitting open graph action

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:

Code:

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 current/smile

Alex

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

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

Re: Submitting open graph action

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 current/smile

Thanks again for the great support Alex

Neil

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

Re: Submitting open graph action

Neil,
Very, very happy to hear you got things going with the read action and the minor code typo current/smile 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

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

alzander
Alex
useravatar
Offline
24163 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:
11696
Total Polls:
0
Total Posts:
49099
Posts this week:
8
User Info
 
Total Users:
47883
Newest User:
wjluci
Members Online:
3
Guests Online:
696

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