× Joomla Facebook Connect support forum

Topic-icon Submitting open graph action

Active Subscriptions:

None
11 years 3 months ago #29635 by fb_721883146
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
The topic has been locked.
Support Specialist
11 years 3 months ago #29653 by alzander
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
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #29662 by fb_721883146
]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.
File Attachment:


Thanks. Neil
The topic has been locked.
Support Specialist
11 years 3 months ago #29699 by alzander
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
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #29706 by fb_721883146
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
The topic has been locked.
Support Specialist
11 years 3 months ago #29758 by alzander
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 :)

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
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #29764 by fb_721883146
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
File Attachment:


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
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #29779 by fb_721883146
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: This email address is being protected from spambots. You need JavaScript enabled to view it.
password: s*********9

2.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 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:
www.wingchun-kungfu.co.uk/general-wing-c.../64-long-bridge.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. developers.facebook.com/docs/opengraph/authentication/

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.
wingchun-kungfu.co.uk/general-wing-chun/...-little-thought.html
wingchun-kungfu.co.uk/general-wing-chun/.../64-long-bridge.html

Screen shot of jfb errors
File Attachment:


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

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

File Attachment:


Could this be my problem?

Sorry about the long post Alex.

And thanks for any help in advance:) Neil
The topic has been locked.
Support Specialist
11 years 3 months ago #29794 by alzander
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 :)

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:
developers.facebook.com/tools/debug/og/o...-little-thought.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
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #29806 by fb_721883146
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
The topic has been locked.