php - I want to have url to point to certain part of my apps in facebook page -
just title..
i want developing facebook apps @ facebook page tab..
just example.. if have store this.. http://www.facebook.com/ryanowebdeveloper/app_273887879387238 (just example found online)
i want have url straight point product... think have way can it... mean if open url.. still open facebook page tab show product description , not main page..
and try learn bout app_data & singed_request.. still not understand it.. know how parameter.. duno how link page..
thank in advance , sorry bad english =)
you can give url page tab app string information adding ?app_data=
or &app_data=
, depending on current url, followed string like:
?app_data=product_id=23923|other_info=heresomechars
now trick is, query string information not available in app, since facebook opens app in iframe. reason facebook posts app information in signed_request variable. read signed_request , find app_data string.
now have access string of information , let code decide depending on finds in app_data
string.
in example use |
seperation sign between parameters, since easy split string on character, after read name, before =
, value after =
.
hope clears air bit.
Comments
Post a Comment