I have followed the facebook page on creating action links https://developers.facebook.com/docs/opengraph/howtos/action-links/
to the letter i have one object recipe
and 4 actions cook, create, save, improve
save is a used as a linked action to cook.
improve is used as a linked action to create
there are 4 stories, one for every action with the object.
cook recipe, create recipe, save recipe, improve recipe.
posting actions work fine and the action link is visible.
however when clicking it i get different errors depending on the action link
clicking save (on a cook story) - gives an error -
Invalid Open Graph Action Link domain for URL ?signed_request=[base64]
clicking improve just returns status 500 from https://www.facebook.com/ajax/open_graph/actionlink
the interesting thing is both actions use the same https callback url.
has anyone managed to solve this?
If anyone runs into this in the future:
https://developers.facebook.com/docs/opengraph/howtos/action-links/ isn't very clear as to the Linked Action and Link Action Url. on the action you want to link you should choose the Linked Action, then open that actions advanced settings and enter a Link Action Url for the action itself.
After doing this everything worked like a charm.
Related
copy pasted the exact code from https://developers.facebook.com/docs/opengraph/getting-started/ , changed the appid. Yesterday it used to work..now..not so much.any idea?
Check the settings for your Open Graph action.
Go to the Open Graph Dashboard for your app on Facebook Developers.
Click on the Read action.
Click the Advanced link.
Make sure that Allow Multiple is selected for the setting called Unique action.
My site allows a user to create a watchlist of stocks. In the site, the action is referred to as "Add to watchlist". I wanted this to create a FB open graph action called "watch" but I believe this is not possible, because watching is a built in action that can only be used on video objects. As such, I've been receiving rejections from FB along the lines of:
Your Action failed the criteria: You are trying to submit a custom action which is not permitted. Please delete this action and submit a built-in version of this action instead.
I can't use the builtin because I need to connect it to my custom "Stock" object. I've tried renaming the action and its verb conjugations every way I can think of ("add to watchlist", "track", etc), but have been rejected at least 5 times. I've run out of ideas.
I've tried to find answers on FB, and here (1 2 3), but have so far not found a viable solution. I think FB must not like the fact that the action is called "watch" in the site itself, and so therefore I have to use the builtin. I'd rather not redo a significant piece of my site just on the off chance it might make FB's reviewers happy, so any other ideas would be appreciated.
Thanks.
Recreating the custom action from scratch as "Track" (deleting the original action, creating a new one, posting the shared activity as an appliction administrator, and then resubmitting with the same how-to instructions) has finally resulted in an approved custom action.
I have a music app that I developed using HTML5's canvas. As different songs are selected, I have jquery that dynamically updates the URL in the browser to point to the correct song. I also have jquery that updates fb:like element. By using the debugging tool, I'm able to cache the pages (since my server is able to return correct meta-data for each URL provided).
When I do this and like something on my website, I end up with a message saying "Sami liked a page." with some info underneath.
Next, I use the Open Graph curl commands to add a Recommend action (something I've created) to a given URL from my website. Now, when I like the same url, I end up with a message saying "Sami recommends this link" with some info underneath.
What I'd really like to do is have this message display "Sami recommends a song on website", which is what the message looks like when I look at the preview for my Song object in the Open Graph. Is there any way to do this?
Best,Sami
EDIT: probably good to note that I'm also getting some extra meta info from the website (such as og:site_name), but that this stuff is not being saved into the Actions portion of my Open Graph (as in I can't view that info using the Open Graph link to view my current Recommendations), though I can see it using the debugger tool.
The facebook like button "triggers" the most generic action which is the like, you can how ever change the like button to use "recommend" instead of "like".
In the documentation for the like button, in the attributes table you can see the "action" attribute which is:
the verb to display on the button. Options: 'like', 'recommend'
Also when you "Get Like Button Code" thing you can select Verb to display.
If you want to use your own actions you'll need to define them in the app settings page as explained in the Define Actions guide.
I am trying to submit a facebook opengraph action. It is a simple "Read" "Article" action, however when I submit it for approval facebook eventually responds with this error.
"Status: Changes needed
You are trying to submit a custom action which is not permitted. Please delete this action and submit a built-in version of this action instead.
Please make changes below and resubmit for review."
I am not sure what that means, as far as I know it is not a custom action that I created.
Click to create a new action type, and when the text box appears, start typing "read" and then select the option that drops down. That is the built-in read action.
I had the same issue, it seems FB doesn't allow to add built in actions as custom for some unknown reason, may be they have some future plan with them for AI stuff. The only the thing I see in built in read is its very limited.
try this tutorial http://onlytipsandtricks.com/facebook/how-to-publish-actions-on-timeline/
As I submit an application for "read" action on Open Graph I received the following response.
Status: Changes needed
Unfortunately, your article.read built-in submission does not meet the read requirements specified at: https://developers.facebook.com/docs/opengraph/actions/builtin/#read. You must give users the ability to turn sharing off/on globally as well as remove an article that was shared within the app. In addition, read actions should only be generated when there is a strong indication that the user is actually reading the article. Please note that we cannot accept resubmission as this time due to technical limitations, so you will need to create a new submission. We plan to have this resolved within the next couple of weeks. We suggest making the required changes and checking back. We appreciate your patience. Note: If you are creating an aggregation based on the object, you need to add 6-7 unique sample objects, and then create a corresponding sample action acting on each of these unique objects. (You can not just create 6-7 sample actions pointing to the same sample object). Submission Checklist: https://developers.facebook.com/docs/opengraph/checklist
Please make changes below and resubmit for review.
Unfortunately, this "guide" is not helping with anything. Firstly, I have no idea where to do this:
You must give users the ability to turn sharing off/on globally as well as remove an article that was shared within the app.
Second of all, I don't even know how to "resubmit"!
Any help would be appreciated.
I was experiencing the same thing. You have to click on the name of your action that you submitted. Once you do that, Facebook provides detailed instructions why they didn't approve the action and what you need to do before you resubmit. Once you review the message, you can make the necessary changes and save the action again. Then you'll have the option to resubmit. In my case Facebook said that I need to provide more detailed instructions what the user needs to do to get an action published. They provided this example: "User must create an account, enable Timeline sharing in the settings, view a product within the app and then click the “want” button underneath the product image to trigger a story". I did that and resubmitted. Hopefully it works this time around. Good luck.
To resubmit, just delete the rejected action and create a new one. You can use the same action name as before. You then go through the submission process again as you did the first time.
Facebook have recently updated their guide to implementing their built-in action types. For the Read action type, see https://developers.facebook.com/docs/opengraph/actions/builtin/#read. You will see a sample application that meets the following criteria required for the use of this action type:
Turn sharing on/off globally on each page an article appears.
Remove articles they shared within your app on each page an article appears.
Only generate read actions when you're sure someone is interested in reading the article.
Built-In actions can't be resubmitted. It is a FB Bug:
https://developers.facebook.com/bugs/364663400220101?browse=search_4f44876aabaef7501649601
From this answer on FB tools and support I got this:
You can start a new submission at the bottom of the "Items in Review" page:
https://developers.facebook.com/apps/337449599791917/review-status/items-in-review/
That link didn't work for me.. so I just went to the app dashboard and clicked on status and review
clicking on the start a new submission button loaded a dialog that prompted me to select which items to "re-review".. so I only selected the problematic one:
after that it loads a form for you to resubmit, so here you gotta re-upload the iOS simulator build etc..
and that's it!