This parameter is a JSON string and is usually specified when the application needs to pass some data to itself. The example of the usage:
http://www.facebook.com/somedummypage?sk=app_xxsome appcodexx&app_data=somedataIf this parameter is specified in url of the page tab on the server side of the application it will be available as a part of signed_request ($_REQUEST['signed_request']). So, in the example above this parameter will be available as $_REQUEST['signed_request']['app_data'].
Hi .. i need 2 thins: pass a parameter to a page tab .. and i would like to do this fom an update. example: i will post "Apple acquires Facebook .. (a href=/pagetab?news_id=4243)Click here to see more(/a)" .. Is there to pass a parameter and customize the text link to the page tab .. look: i'm not customize text link to a external page .. its a simple page tab .. thanks!
ReplyDeleteHi, I'm not sure that I understand question. Do you mean that you need to customize link in update post? If so it is possible to define link for wall post using stream.publish method, you need to set your urlencoded link to parameter action_links. Description of all params is here: http://developers.facebook.com/docs/reference/rest/stream.publish/
Deletesorry .. my english is very very bad, and i was so tired. yes, i need create a link, in update post, to a page tab.. but i need that this link be a text link, like "Apple acquires facebook" (example), and this link send to a page tab in my fan page, instead of show the entire link: http://facebook.com/myfanpage/mypagetab...
DeleteActually I didn't manage to find a solution for insert html-link to wall post, facebook cuts all <a> tags and leaves only clean url. It's internal facebook behavior. And also it's impossible to insert any html tags into wall post. Sorry, I can't help you with this stuff :(
Deletei don't wanna show: "Click in the below link: http://..." I wanna show a beauty text link :)
ReplyDeleteThis is great. Thanks for sharing this one. Are you a Facebook Application Developer? Cause you know how to fix some problem like this. By the way, hope to see more post of you regarding this.
ReplyDelete