Facebook sharing without any dialog - android

Is it possible to share facebook stat from my app instantly without any dialog? This is because I don't want the user to edit the post. Thanks in advance.

It is possible by using Facebook Login and then making Graph API calls to share links, photos, etc.
Make sure people have clear sharing experiences, though, and that the app follows Platform Policies wrt not surprising people / etc.

Related

How can I show a specific list of apps in the share sheet in kotlin?

I'm a Kotlin beginner and I'm aware that this question is asked probably a hundred times already, so sorry in advance to anyone who feels annoyed...
I'm working on an app which is supposed to send a picture the user took in the app to specific other apps (instagram, facebook, wechat) via share sheet. The User should not be able to choose from all the apps that are installed. The share sheet should only show instagram, facebook and wechat. This is where my problem begins...
How can I use the share sheet to send the user only to instagram, facebook and wechat?
Via PackageManager? Do I have to filter all the other Packages?
I hope my question is clear enough. Thanks in advance for any help!

Implement Android Share

I've seen plenty of example where people are sharing content from their application but I want to be able to share content with my application e.g. Users can press share via then Twitter.
Does anybody know any tutorials or guides? Also would you be able to share with a service? Would be a great feature to include :) Thanks
P.S. I dont want to share with Twitter/ Facebook, I want to share from apps like the browser to my app.
Have you looked at these Developer docs?
It has an example code snippet.
You can either use the SDK's / API's available for Facebook and Twitter or else you could use Intent.ACTION_SEND to share text and images to the walls at Facebook and Twitter...

Is there a way in which Pinterest can be integrated with an android Application

I wish to drop pins or view the photo's which are of my interest in my Android Application, do we have any SDK by pinterest , as I would want to integrate the same inside my Android Application.
Any suggestions would be like a boon
http://developers.pinterest.com/android/
This is for others who might want to get started with pinterest and land in this page.
It seems like the answer is "not yet"... But go and sign up with them, I'm sure it's on their radar and will come soon enough if it's in their basic FAQ.
https://support.pinterest.com/entries/21151603-i-m-a-developer-does-pinterest-have-a-public-api
Another option (or just for the meantime before they release an official API) may be if the official pinterest app offers an intent for sharing? Plenty of other social web entities like twitter, facebook, etc give intent based access in their official apps, that let you dump media, links, etc into them from other apps in the system, and have the information posted to your accounts.

Using forms to connect to Facebook in Android?

While using the Facebook SDK for Android, I realise Facebook uses their own dialogs with forms so the user can enter their information.
Is there a way to use my own forms and send the data to Facebook to authenticate? Or do I have to use theirs? If so, is that the same case for uploading pictures, posting on your wall, comment, etc.
I'm not sure about uploading pictures, but I ran into the same problem some time before with the forms and after a lot of research reached the conclusion that you have to use their forms. The only application AFAIK that uses custom Facebook login on Android is Facebook for Android (official application).
You might be able to figure out a way by tracing the URL that is being used by Facebook for authentication, but those sorts of hacks won't be reliable as Facebook may change the API on you. It sucks, yeah.
Here is some more information, Stack Overflow question Android -> Facebook login without a dialog?.

Best way for social sharing in Android

I've been looking for a way to share information to social networks. I've found 2 possible solutions:
Look for installed apps and sent an intent (like android uses in it's gallery)
Use the socials network api
When looking for quick ways to implements i say use the installed apps for that but if it goes customization and generalization i think the second option is the best.
I've a hard time deciding if one outweighs the other or not.
So my question is: What is the best approach? One of the ones i suggested or a whole different way?
The Android OS uses intents to do this...
While searching for an answer to this question I came across:
Social sharing on mobile
Quoting #NewProggie
Intent share = new Intent(Intent.ACTION_SEND);
share.setType("image/jpeg") // might be text, sound, whatever
share.putExtra(Intent.EXTRA_STREAM, pathToPicture);
startActivity(Intent.createChooser(share, "share"));
Depending on the MIME type you put in for setType, the chooser will show email, gmail, SMS, twitter, facebook, flickr, or whatever!
This is the easiest way to share content for the developer, and a proven method.
I have worked with the Facebook API and I know that it's a really good one. It looks if a native Facebook app is installed, if not it pops a little popup on your screen where it does it things, if yes, it uses that app to do your things.
I think you have to take the same approach for all your Social Networks: check if app exist. if yes, use. if no, use own implementation
You might also check Socialize out http://www.GetSocialize.com . Full feature list at http://go.GetSocialize.com/features It'll let you share social actions in the app out to social networks (currently Facebook; Twitter coming this month, then likely Google+ after that).
What about the case when user does not have specific social network API installed? Then you are left with only using the API. Some might argue that if user doesn't have facebook app installed, he should not be able to share stuff on facebook, but I for example use facebook throught their mobile site, I won't waste precious space on my G1 for the hefty facebook app.
I'd go with using the API.

Categories

Resources