Всем привет. Не очень разобрался с facebook платежами, поэтому пишу сюда.
сам вызов функции понятен.
FB.Canvas.Pay(
product: "YOUR_PRODUCT_URL",
quantity: 2,
callback: delegate(FBResult response) {
Debug.Log(response.Text);
}
);
не понятно где создавать файлы и как использовать Open Graph
Firstly, we need to define a Friend Smash Coin and inform Facebook of its existence. Products in the Local Currency Payment system are represented by a special kind of Open Graph object of type og:product.
Inside the /friendsmash_complete/opengraph directory, you should find an empty coin.html file. Open the file in a text editor of your choice, and copy/paste in the following code:
Если не сложно- поделитесь опытом.