Using the open graph API, is there a way to determine which friends of a user have an @facebook.com email address setup?
The title basically sums it up. After fetching the list of friends for a facebook-connected user, I'm looking for a way to determine if the friend is using the new messaging system with the @facebook.com开发者_如何转开发 email. I'm using the javascript SDK.
Along the same lines, is there a way to pre-populate the To: list with Facebook's new Send button?
They are not providing it Yet as you can see the user profile info they are providing here And no for now you can't send message to user/user friends through API. Its included in there road map they will provide the feature to send message to user's inbox in upcoming days. But There can be a manual method by calling a URL like this http://www.facebook.com/inbox/?compose&id=516888778 I know that is something you don't wanna use but this is all you can do right now.
These FQL tables might be useful:
http://developers.facebook.com/docs/reference/fql/unified_message/
check other unified_ tables here:
http://developers.facebook.com/docs/reference/fql
Check their note:
We are in the process of making the new messages system available to all users, at which point this table will replace the existing message table. We are providing early access to this API for registered developer accounts only until the new messaging system is broadly available. You should use the message table for production applications at the current time.
It says for registered developer accounts only and is in BETA mode. But you may want to query against this table to check which one got his new inbox implemented, else the table will return null or no data. However, using this needs read_mailbox permission.
If you will notice the @facebook.com email of users are using their usernames (username@facebook.com). If you are able to get the usernames of the currently-logged-in user's friends, then you may want to send each one an email and check which did not send through.
No. You can get the user's own e-mail address (with the email
permission), but not those of hir friends. This is By Design, and a Good Thing (even if my friends are eager to give out their data, they have no business to hand out mine)
They do use a certain format, which is either the FaceBook ID, or the FaceBook moniker they setup for themselves. That won't let you check anything, but it's a step in that direction. There may be a permission you can request which will let you interact with a person's friends via messaging, like with sending messages and wall posts, but I can't say.
Also, if you request a person's email, they can opt out, or offer a FB proxy address, so it's not a guarantee.
精彩评论