开发者

problem with intergating facebook & twitter for iPhone in my app

开发者 https://www.devze.com 2023-01-07 03:02 出处:网络
I am being using facebook & twitter in my application where user post comment on facebook & twitter . I have facing problem while using facebook i have used session so once user login

I am being using facebook & twitter in my application where user post comment on facebook & twitter . I have facing problem while using facebook i have used session so once user login he is not getting option for logout. he will continued posting comment .

And for twitter : How wi开发者_C百科ll i create application in twitter for my application .

so please help me to find this solution.

Thanks


For facebook, you can call your session to logout:

if (self.session.isConnected) {
    [self.session logout];
}

For twitter, you first must register your application with twitter, then you can use some library to support you like MGTwitterEngine, which we are using for our applications

0

精彩评论

暂无评论...
验证码 换一张
取 消