Share instagram post on my app - android

I'd like to let a user share an Instagram post on my app.
I've noticed that Instagram shows a dynamic list of apps that accept its shared content, but I couldn't find the exact way to add my app into that list.
A screenshot with Instagram's share menu:
As you can see, only WhatsApp is enabled, after I've installed it.
I can confirm that installing other specific apps, such as Facebook's Messenger, would populate this menu.
This makes me realize that there must be some intent filter that these "client" apps (WhatsApp etc') use to say "Hey Instagram, I accept your shared content".
Maybe there's another way.
I'd like my app to be able to do that. How? Thanks!

Related

Android App shared links on whatsapp are not clickable

I developed an android app, but upon sharing links from app on Whatsapp, the links are not clickable. If I do copy and paste the same message it becomes clickable.
Any idea why? Is it because app is still in development process?
For security if you dont have a contact registered in your phone, whatsapp not show as a hiperlink. This is to avoid virus, spam, etc.
In example, if you are in a whatsapp group and other person share a link in the group, you will see as hiperlink if you have the phone number registered in your phone.

How to share Text between app users after sharing on Facebook

My application is an app for making a travel schedule.
I want to make the app that shares user's schedules.
For this, I tried to simply share text between app users.
Let me explain the steps.
One user shares the app on Facebook to the other. When he shares the app, Text "abc" should be included, not on Facebook, but on the app.
(And I already made Textview to see if it can be sent.)
The other user opens the app on Facebook. Then Text "abc" should be seen on Textview.
I don't even know what keyword I should search.
I tried to use 'intent' and 'action.SEND'. But it doesn't work.
Could you please let me know the steps to do the above function?
Thank you in advance.

Android share to facebook twitter g+ and others

New to android here but not to stackoverflow, i know this was asked before but hear me out first:
So regular Share through chooser:
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_TEXT, message);
sendIntent.setType("text/plain");
No longer works!, facebook doesn't allow pre-filled text to be sent(so i understood).
BUT I've seen apps do it anyways, by first presenting a pre-filled dialog they created with the text and then showing a custom chooser for sharing.
I have no idea how they do that, i can't find any answers in the forums for pre-filled text share to facebook.
Worst part is, i want to share text with an image, like in this photo here.
Where can i get a good sample project / Tutorial for:
1. simple facebook share.
twitter and google+ sharing.
custom chooser.
Also, would like to hear your comments and regards on best practices with social media sharing AND using a chooser.
Cause i also want the be able to share to apps like WhatsApp and other of that sorts.
With facebook's new SDK you can no longer use ACTION_SEND to share text information.
You can post on behalf of the user but not pre-fill the text for a status update, at least i did not find a way to do that.
You must also have your app actions checked and accepted by facebooks policy.
The answer: Stop working with facebook untill they remove their app from the ACTION_SEND in the android chooser.

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.

How to add Shared via [my app] when sharing content from an Android app to popular social networks?

My Android application allows users to read full articles from various blogs and share the posts using Android's in-built sent action:
Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND);
When I share an article, Twitter indicates it is shared via Twitter for Android, and Facebook simply has an RSS icon with no "shared via" at all.
What is the procedure of getting my app's title to appear next to "Shared via" for those social networks?
With Twitter you'd need to do the sharing directly through your own application, the API key you use to share with is associated with the 'shared via' link. If you share through another twitter application like Twitter's official app or TweetDeck then the 'share via' link will be to their app as the article was shared using their api key. There are libraries and tutorial on how to implement twitter api yourself.
#ernes7a this is an old question so don't know if still relevant. Socialize handles the "shared via" text. You can check it out at http://www.GetSocialize.com & full feature list at http://go.GetSocialize.com/features
DROdio
To get your name into the networks, i doubt that you can use the built-in sharing feature. In both cases (facebook or android) the application actually submitting the content (post or tweet) to the network gets the icon / mention. In case of using the built-in method, that will always be the twitter for android or the Facebook android app. You'd have to implement the sharing yourself. Have a look at pulse or other apps, that use these kinds of features.

Categories

Resources