Pregunta

i have an app that want to share to twitter

when user click the share button and he has a token the app will process in the background and tweet using predefined message (user cannot change the message)

but if he/she doesn't have the token then the app will show popup login webview dialog to the user with our app name like in the picture.

After he/she successfully login dismiss login dialog and the app will repeat step 1 (tweet in background)

enter image description here

how can i archive this? thanks.

¿Fue útil?

Solución

refer FHSTwitterEngineyou can use newly FHSTwitterEngine you need to send consumer key and token along with screen_name..

Otros consejos

Solution to your problem is to implement the Single Sign on (SSO) using native App residing on Device. Almost all the Social Framework SKD's are approaching to use the account information residing centrally on the device. (That's called as SSO via Native)

Please read more about it here

Also if you face difficulty in implementing it, kindly use shareKit or PFTwitterUtils-NativeTwitter.

In ShareKit, you many need to perform a "Granular Install" to just link to "Twitter" library rather than all other bunch of Social Frameworks.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top