post.addEventListener('click', function(e) { Titanium.Facebook.appid = '1234567891'; Titanium.Facebook.permissions = ['publish_stream', 'read_stream']; Titanium.Facebook.addEventListener('login', function(e) { if(e.success) { Titanium.Facebook.requestWithGraphPath('me/feed', { message : "Checkout", picture : imageView.image }, "POST", function(e) { if(e.success) { alert('now login..Liked!'); } }); } }); Titanium.Facebook.authorize(); });This is my facebook 'like' code, but picture is not posting on fb. When I remove picture then message is posting. Any solution..how to post picture on fb when click on like button?
1 Answer
Whats the value of imageView.image ? Are you using a local image within the app ?
Your Answer
Think you can help? Login to answer this question!