Note that there are some explanatory texts on larger screens.

plurals
  1. POFacebook open-graph - publish action reliability
    primarykey
    data
    text
    <p>Can anyone tell me, what is the reliability of Facebook's open graph API when publishing actions to the timeline?</p> <p><strong>Background</strong>:</p> <ul> <li>I've created a new FB iOS App</li> <li>Create a new action type "write" with custom object "blogpost" as the generic types don't work for me</li> <li>Followed every single bit of the tutorial provided by Facebook at <a href="http://developers.facebook.com/docs/opengraph/tutorial/" rel="nofollow">http://developers.facebook.com/docs/opengraph/tutorial/</a> to conform to all the OG requirements</li> </ul> <p><strong>Publishing code</strong>:</p> <pre><code>[self.facebook requestWithGraphPath: @"me/MY_APP:write" andParams: [NSMutableDictionary dictionaryWithObject: @"http://blogpost.url/here" forKey: @"blogpost"] andHttpMethod: @"POST" andDelegate: self]; </code></pre> <p>Following is the blogpost page head snippet conforming to the OG requirements:</p> <pre><code>&lt;head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# MY_APP: http://ogp.me/ns/fb/MY_APP#"&gt; &lt;title&gt;Blogpost page&lt;/title&gt; &lt;meta property="og:title" content="Blogpost page" /&gt; &lt;meta property="og:image" content="http://url.to/the/image.png" /&gt; &lt;meta property="fb:app_id" content="123456790123456789" /&gt; &lt;meta property="og:url" content="http://blogpost.url/here" /&gt; &lt;meta property="og:type" content="MY_APP:blogpost" /&gt; &lt;/head&gt; </code></pre> <p><strong>Testing environment</strong>:</p> <ul> <li>Tested in simulator as well as the actual device</li> <li>For every request attempt, I do a fresh app starts to exclude any app's network issues.</li> <li>Every time, my request is exactly the same, with the same linked blogpost url.</li> <li>I'm using the latest iOS SDK available</li> <li>My network is perfectly reliable</li> <li>The blogposts pages are accessible and correctly contain all the requirements set by opengraph</li> </ul> <p><strong>The error responses from Facebook API vary each time:</strong></p> <ul> <li>OAuthException: An unexpected error has occurred. Please retry your request later.</li> <li>Exception: Could not retrieve data from URL.</li> <li>Exception: Object at URL 'http://blogpost.url/here' of type 'MY_APP:blogpost' is invalid because the domain 'blogpost.url' is not allowed for the specified application id 'XXXXXXXX'. You can verify your configured 'App Domain' at <a href="https://developers.facebook.com/apps/XXXXXXX" rel="nofollow">https://developers.facebook.com/apps/XXXXXXX</a>.</li> </ul> <p>(NOTE: Obviously, blogpost.url is being replaced with a real existing page)</p> <p>The requests success rate is somewhere around 30%. </p> <p>Is it possible there're any issues on the Facebook's end? Currently, I don't feel like publishing my app in the current shape of Facebook sharing reliability.</p> <p>Thank you for any feedback, help or advice.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload