auto-tweet through user account from Android App - android

I want to give Auto-tweet option in my App to the user. When the user chooses the auto-tweet option then onwards users data is tweeted through his Twitter account ( but not through the App twitter account) on certain Event (predefined by the App).
Is this feasible? If so can someone please tell how to do this?
Thanks

Have a look at Android Intent for Twitter application you can use an intent to specify that you want to tweet, and then any application that handles tweeting can accept this intent. Is that what you want to do?

Related

How to launch Android PayPal Mobile app using Intent

If a user owes me money, I want to start Paypal mobile app from my app using Intent with amount and payee information preset, all the user has to do is to verify the information and either confirm to pay or cancel to decline. Could someone show me how to initialize the intent, please?
I don't know how complicated you want to make it, but with PayPal it can be as simple as popping over to a full browser window with a URL structured like the following:
https://www.paypal.com/webscr?cmd=_xclick&item_name=description%20of%20payment&amount=77%2e88&currency_code=USD&business=payee#example.com

Start Facebook Chat with Another user using Facebook ID

Is there any way to start a facebook chat using the messenger application. I know we can lead a user to the messenger application using intents and using their Messenger API. But I want to do is open a chat window directly with particular user using the facebook User Id.
Is that possible?
I found this post
Android Facebook sdk messaging ID mismatch
I couldn't really find much else and I was hoping the new messenger API might support that kind of an interaction?
The answer is in the first comment of the other thread: That solution does not work with App Scoped IDs, and you don´t get the real IDs anymore. Even if it would be possible, you can only get App Scoped IDs of friends who authorized your App too. Meaning, it´s impossible.
to start Facebook messenger with a particular user
check this answer dear will help you how to start with particuler user
try this...
final Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("fb://messaging/" + facebookId));
But you have to know the facebook id .
Ref: How to open specific contact chat screen in various popular chat/social-networks apps?

Android: Getting a friend and chat history with him from Facebook messenger

Is it possible to start an intent from my android app to select a friend from Facebook messenger and get the conversation history with him? If yes how such intent should look like? Or do I have to use Facebook SDK for that?
This is not possible for several reasons:
First of all, you would need to select friends by using /me/friends, but you don´t get a list of ALL friends. Since v2.0 of the Graph API, you only get friends who authorized your App too.
You would need to get the read_mailbox permission approved by Facebook. But that permission will not get approved for Android Apps.
If that would be possible, an App would be able to get access to the messages of the friends of the authorized user. Which would obviously be a pretty heavy privacy issue. Just so you understand what this is not possible at all.

Getting Facebook user ID from message dialog

I am developing an app that would allow users to invite his friends to an event.
What I want to achieve is that when the host is inviting friends, he can invite those that are not on the app through a button. This would send a message to those invited friends that includes a link to install our app. Once they install the app, they can login and will immediately view events he is invited to. Can this be done?
The concern is that when the user who receives the invitation message and installs the app and logs on, how will the app know the person who logged in is the person that is invited in the first place? If the app cannot associate them, how can we provide the relevant events to him once he has logged in? Is what I want to achieve unattainable?
I think it might be done through the old Facebook API, but their new one will only allow an app to access a user's friends who are also on the app and not those that are not on the app. In this case, is there a way for us to pull the UID of those invited through FB's messaging dialog? And will this work with group chat?
I know that another way will be to do it via phone number confirmation and accessing the user's contacts, but I want the invitation process to be through facebook if that is possible.
Thank you all for your help in advance.
Lok

Choosing default intent in android share app

Hi guys I'm developing an app where in i need to choose an app to share my status.
I'm using something like this
startActivity(Intent.createChooser(Myintent, "Share..."));
But the above line opens a window asking user to select the app to share with.
I want that option to be automated.. precisely I'm looking to update status on google plus..
So I need to start activity which chooses google plus to share...
Im guessing I need the activity name but com.google.android.app.plus opens google plus app but not the page that shares the status... Im looking to prepopulate the status string so that user just have to press send
Have you thought about using the Google plus API? You could send the data via http requests so that you would be able to stay in-app throughout the whole process. I think this kind of solution could be a much smoother experience for the user so they wouldn't have to move in and out of your app in order to accomplish posting to google plus.
Check this answer: https://stackoverflow.com/a/9229654/857583
In this case, call initShareItent("plus");
But you'll have to change the mime type to plain/text or something else.
It is starting the Google+ app, but the recipient or mail address is not filled in unfortunately.
So, EXTRA_TEXT is filled in but EXTRA_MAIl is not.

Categories

Resources