Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All,
Has anyone tried using the 'fbpromotion' method? I'm trying to show the promotion payment popup but when I do:

var obj = {
method: 'fbpromotion',
display: 'popup',
quantity: 1,
product: 'http://currency.object.url'
};

FB.ui(obj, npp_callback);

Nothing happens....
anyone?
Posted

1 solution

As per I know you have to install and activate the plugin, then you have to activate it and need Facebook Settings. The below link will help you.

http://www.wpbeginner.com/plugins/promoting-your-facebook-page-in-wordpress-with-a-ligthbox-popup/[^]

thanks
 
Share this answer
 
Comments
Member 10636337 2-Mar-14 4:23am    
Thanks for the effort. How ever, I'm looking to show the payer promotion popup from within my app in Facebook. The FB API in JavaScript is the same as I wrote above, but when I call the FB.UI function nothing happens. This is from my own app, in JS. I don't have any PHP/WordPress usage there....
Perhaps you know something I don't...?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900