javascript - invitation to app does not notify User -
i try send invite app using javascript , works, window of invite show , send invite, user dont see notification. code use:
<script src="http://connect.facebook.net/en_us/all.js"></script> <script> fb.init({ appid:'app_id', cookie:true, status:true, xfbml:true }); function facebookinvitefriends() { fb.ui({ method: 'apprequests', message: 'your message diaolog', to: '204302321251236' }); } </script> <a href='#' onclick="facebookinvitefriends();"> facebook invite friends link </a>
hi need go in facebook developer , select app , goes in setting of app , click "add platform" , select "app on facebook" , add canvas url in it. try send invitation , show notification.
Comments
Post a Comment