I'm mobile developer.
I develop Android App, and iPhone App.
my application have function to share. (like twitter, facebook ...)
I'd like to post picture to Instagram with hashtag from my application.
However, I found information that instagram not allow post with hashtag.
Is it still impossible for me to realize that?
Best regards.
There is no Instagram API to post images/videos, You can only post using Instagram's app. You can however use webhooks to open an image from your app in Instagram app, and then user will have to continue and do the actual posting in Instagram app. Check this: https://www.instagram.com/developer/mobile-sharing/
Instagram API will only allow you to get posts by user/hashtag/location and you can like/comment/follow. But you cannot add or delete posts, stories or direct messages.
Related
Is there a whatsapp authentication like Google, Facebook and many others does.
I need to authenticate a user using there whatsapp number. More over all, it is all about getting whatsapp number of a user.
NO, you can't Whatsapp has not exposed any authentication API.
There are only two ways to integrate with WhatsApp: - Through a custom URL scheme - Through Android's intent system.
Check I'm an Android developer, how can I integrate WhatsApp with my app?
I'm creating an Android app and I need to integrate some Facebook functions in this app.
Among them I need to share some Facebook page posts. I try to use native share button.
https://developers.facebook.com/docs/sharing/android
But I can't achieve the sharing of the page post. When I try to share the page post I can only share the page.
For example, I try to share this post
https://www.facebook.com/ArsenalThePrideofEngland/posts/863092823730119
and as a result I get the sharing of this page
https://www.facebook.com/ArsenalThePrideofEngland
I read the Graph API docs about the sharing and I discover that it's not possible to use it for sharing.
Is it possible at all to share the Facebook page post using custom Android app?
I'd like to target a message to my Facebook friends who use iOS, and separately, Android. If I'm going to recommend them a particular app, for example, I'd like to ping only those who have the right OS. Presumably Facebook has this information. Is there a way for me to retrieve it?
I do not think Facebook would expose this kind of information on their API. What you could do is use Parse and its Installation class. By doing so, you will get specific device information of each of your users. Then you can use the Parse Push SDK to target specific users based on this information. As an added bonus, Parse also offers Facebook integration, so it might be the tool you are looking for.
You can use the Facebook Message dialog for iOS and Android to let people send messages to their friends via Facebook Messenger. See https://developers.facebook.com/docs/android/share#message-dialog and https://developers.facebook.com/docs/ios/share#message-dialog
However, in v2.0 of the API there is no way to find out which of a users non-app-using friends are using Facebook on which platform - and in any case, the dialogs don't let you pre-fill the recipients.
If you want people to invite their friends, but want the recipient to end up being redirected to the correct (iOS or Android) version of your app, I suggest sharing the same URL, and then doing user-agent detection when someone clicks on the link to determine if you want to redirect the users to Google Play or the Apple App Store. Services like Deeplink.me may provide this as a hosted service: https://www.deeplink.me/
I was wondering if it is possible to catch feed of a particular facebook page without any authentication and just display all the posts posted by the admin of the page (possibly along with all comments and likes).
I took a look the facebook developers page but could not find anything relevant.
You can access the public information of any Facebook page without any permissions.
However, You do need to register your app on FB first. They only allow access to their Data from registered apps. It's FB's way of making sure they know who's using which data and how much of it.
You can create a new app at this URL
https://developers.facebook.com/apps
Here are links to mobile/web docs for using Facebook's API
https://developers.facebook.com/docs/
i have the following problem: I tried to post sth. to Facebook by using ACTION_SEND Intent to pass a String to the Facebook application.
Now I know this is currently not possible.
I don't want to code my own Facebook login, logout, session handling stuff in my application.
Question is:
If someone has the Facebook App installed and is logged in,
can I use the authentification information to post sth. on his Facebook wall?
Or, what is the easiest way to get sth. posted?
thanks
I would recommend using the Spring Social Facebook library. It will take care of all the OAuth stuff for you and provide you with a nice Facebook API you can interact with. The API allows you to do a lot more things than just post.
The downside is you have to install the jar files with your app and do a little setup. There is a good example of how to do this for Android in the spring-android-showcase-client in the spring-android-samples project.