Note that there are some explanatory texts on larger screens.

plurals
  1. POPublish flash player in user wall does not work?
    primarykey
    data
    text
    <p>Hi first i want to clarify that this is not a question about how to embed a flash player in user wall, because i already know how to do it.</p> <p>The question is if anybody can help me whith my code or if someone has the same problem as me and it is a bug.</p> <p>I want to publish this link ( <a href="http://www.test.hollybyte.tv/watch/4e45080a94a05f1478000000" rel="nofollow">http://www.test.hollybyte.tv/watch/4e45080a94a05f1478000000</a> ) into wall via Graph Api. If you see the code of the link you can see that the required metas are wrote. In fact, if you paste the link in Fb, you can see that it recognise and even publish the player.</p> <p>For test purpose i have used the Graph API Explorer ( <a href="http://developers.facebook.com/tools/explorer" rel="nofollow">http://developers.facebook.com/tools/explorer</a> ) with this parameters:</p> <ul> <li>Method: "POST"</li> <li>Api : <a href="https://graph.facebook.com/user/feed" rel="nofollow">https://graph.facebook.com/user/feed</a></li> <li>oauth_token : ...</li> <li>message: "Test from API Explorer"</li> <li>link: <a href="http://www.test.hollybyte.tv/watch/4e45080a94a05f1478000000" rel="nofollow">http://www.test.hollybyte.tv/watch/4e45080a94a05f1478000000</a></li> <li>picture: <a href="http://repo.eu-w1.hollybyte.com/acc/test/as/4e45080a94a05f1478000000/splash.jpg" rel="nofollow">http://repo.eu-w1.hollybyte.com/acc/test/as/4e45080a94a05f1478000000/splash.jpg</a></li> <li>source: <a href="http://repo.eu-w1.hollybyte.com/acc/test/py/default-flash/swf/flowplayer.commercial-3.2.7.swf?config=http://repo.eu-w1.hollybyte.com/acc/test/st/www/default/js/emb/4e45080a94a05f1478000000.js" rel="nofollow">http://repo.eu-w1.hollybyte.com/acc/test/py/default-flash/swf/flowplayer.commercial-3.2.7.swf?config=http://repo.eu-w1.hollybyte.com/acc/test/st/www/default/js/emb/4e45080a94a05f1478000000.js</a></li> <li>type: video</li> </ul> <p>And it does post perfectly well, wiht the player !!</p> <p>But when i tried the same thing wiht PHP using Facebook PHP SDK, it does not. It publish a link but with no picture, nor player either.</p> <p>My PHP code for this is:</p> <pre><code>$facebook = new Facebook( array('appId' =&gt; $this-&gt;_appId, 'secret' =&gt; $this-&gt;_appSecret)); $param = array(...); //Array with all the data from above, the same data. $result = $facebook-&gt;api('/'.$userId.'/feed', 'post', $param); echo $result; </code></pre> <p>I do not understand why, whith the API Explorer works fine, but whit my PHP call does not. Please tell me if it is a bug, or what i am doing wrong.</p> <p>I have to say that i have all permissions right (publish stream, offline access, read stream), and i can post to wall so it is not a permission problem (or correcti if i am wrong)</p> <p>Thanks in advance for your answers.</p> <p>P.D. I am not used to write in english, so forgive me if i have some grammar errors.</p>
    singulars
    1. This table or related slice is empty.
    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.
 

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