Is it possible to get users id's and statuses in android?
I am able to get skype contact list, can chat, audio/video calls with skype friends by following these two links.
1)Is it possible to get contacts from my Skype account in android?
2) http://www.limbaniandroid.com/2014/01/how-to-make-skype-audiovideo-call-and.html
But now in android app, I want to get skype contact list with their statuses and specific skype user id's.
Thanks in advance for your help.
I don t think is possible to have you skype statuses in your app . For example you won t be able to see the statuses if the user does not have the skype app opened .To implement this skype should release a sdk to integrate ..maybe they will do that.
Related
So I am using react-native-fbsdk in my app. I want my app to have functionality to invite user facebook friends to use my app. That functionality will be in card that show user friends profile picture and name, and a button that can be used to invite that friend. My app is not a game.
My first question is how can I get all user friends that not using my app and using react-native-fbsdk for invitation?
So far I know that facebook has two API to do this taggable_friends and invitable_friends.
taggable_friends is used when user need to do post and tag his friend (I think this not what I looking for, cause all I want is user press the button and the invitation will imediately send to his friend)
invitable_friends is use for game, but for non game app, I can use message dialog
https://developers.facebook.com/docs/apps/faq/
For apps which are not games, or for apps without a Canvas presence,
use our other products such as the Message Dialog on iOS and Android,
Send Dialog for the Web or the Share Dialog on iOS, Android, Web.
These products let a person easily select the friends they want to
message or share with.
So the second question is how I can use this message dialog inside my react-native app?
note: react-native-fbsdk has FBAppInviteDialog, is it relevant to this question?
When I'm going to invite my friends through my developing app to WhatsApp, if I click to invite my friend and then WhatsApp contact list comes up and I do not want to invite any friend. Why my invitation count is going to decrease by one?
On a high level: Because you have set your counter to work whenever you go to the page, not to whenever you add a contact.
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.
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
My app has an instant messaging feature. So it has a contact list.. I want to populate the contact list to help get my user started with some friends..
After asking permission I will:
1) Search the local contact database, send the phone numbers to my server and check for other accounts using my application that have the same phone number.
2) Ask them if they want to also import their facebook friends. At which point I suppose I will ask them for their username and password for facebook, log in to the Graph API and request their list of friends..
My question is, once I am iterating the list of friends from my user's facebook friends list, how can I link their facebook friend ID (or whatever identifier Facebook gives me) to some other ID in my app?
Will I see the email of all my friends users (after research, it looks like not)? Will I just get a numeric Facebook ID? If so, then how am I to harvest facebook IDs from all my users that have linked their account to facebook in my app?
I suspect this feature has been implement by other third party developers. So I'm looking for the strategy to identify and link my app users, to facebook accounts, and then iterate my app users friends list to find common users.
The question I am answering from a user perspective "Which of my facebook friends are already using this app, named XYZ on android"
You can store a user's Facebook ID alongside their other user information for your app, then match on the retrieved IDs from a Graph API /friends call. This way, you'll be able to see which friends have also linked the app to their Facebook account. You won't be able to fetch email addresses for a user's friends using the API.