how to share text on facebook from thi iphone using Titanium?
I have implement one iPhone application using Titanium. Now I want to share application link or text on facebook I don't know which api I have to us开发者_如何学Goe and how to integrate.
Do you have any code yet you can share? Ti.Facebook changed in version 1.6 and uses the Graph API since then. There's a decent amount of documentation in the KS as well.
You want to start by logging in to Facebook with the Graph API using the Ti.Facebook.createLoginButton
and then Ti.Facebook.requestWithGraphPath
for anything you would need. To share a dialog is probably best.
精彩评论