Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Invite friends popup is struggling, if the user is not logged in
- FB.ui({
- appId: '"' + appId + '"',
- method: 'apprequests',
- display: 'iframe',
- message: '"' + message + '"',
- title: 'Send your friends an application request'
- },
- function (response) {
- if (response && response.request_ids) {
- FB.api(response.request_ids, 'delete');
- }
- });
- <script>
- document.getElementById('send-to-many').onclick = function() {
- FB.ui({
- method: 'apprequests',
- message: 'Visit my page'
- }, Log.info.bind('send-to-many callback'));
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment