Quantcast
Viewing all articles
Browse latest Browse all 8068

FACEBOOK_NON_JSON_RESULT":"false" what does this means

here is my code to like a facebook page I am getting the alert ('you liked the APP on facebook') but the no of likes does not increase and the log states "FACEBOOK_NON_JSON_RESULT:false"

like.addEventListener('click', function() {
     var data = {
        access_token :Ti.Facebook.accessToken,
        object:'link'
    };
 fb.reauthorize(['read_stream'], "me", function(e){
 
    if (e.success == true){
 
       Titanium.Facebook.requestWithGraphPath('link', data, 'POST', function(e) {
        if (e.success) {
            alert('You liked The APP on Facebook!');
            Ti.API.log('Success!  From FB: ' + e.result);
        } else {
            if (e.error) {
                alert(e.error);
            } else {
                alert('Unknown result');
            }
     }
     });
 
    }
 
});
 
});

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>