text stringlengths 1 330k |
|---|
Take the tour × |
I am trying to implement something similar to the share feature on Dropbox that allows you to send an invite to Facebook friends. |
You will need to log in/ create an account and have a shared folder to see it. |
The feature only ever shows one Facebook dialogue which is to give it's app permissions - I don't know how it even manages to send a private message - from the research I've done this isn't even possible, and secondally, I don't know how it manages to achieve it without using a Facebook dialogue - it uses it's own moda... |
So far I have managed to pull a list of Facebook friends into a jquery ui autocomplete but don't know how to now send the private message to the selected friend now that I have their id. |
The only way I could think of how to do this was to send the user an email at id@facebook.com but don't know how you attach the image, description, link etc like you do to a normal wall/timeline post. |
I was hoping some of the Facebook experts here could offer their thoughts and opinions? |
share|improve this question |
What permission(s) does it require when you add the app? Where do the messages arrive to? Your chat pops up or to the top messages icon? – Nitzan Tomer Apr 26 '12 at 21:41 |
Trying to remember the permissions(I apologise, I am on my phone) I can remember that one is offline access. The message goes to the top messages icon, the inbox. – martincarlin87 Apr 26 '12 at 21:44 |
add comment |
2 Answers |
up vote 4 down vote accepted |
The only way that I'm aware of that enables an app to send private messages to non app users is via the Chat API. For that you need to ask for the "xmpp_login" which: |
Provides applications that integrate with Facebook Chat the ability to log in users |
(Permissions Reference) |
When you have that you can become a xmpp client of the user, get presence updates from the user friends (and with that you can know which friends of the user are online) and you can send messages to the friends on the user's behalf, but also here facebook asks that the message will come from the user which is probably ... |
This api is not a simple one because it requires your app to have an xmpp client. There are some client implementations (flash and even js clients) but I have no experience with that, on the other hand I can tell you from experience that managing xmpp per logged in client can be tricky so try to avoid it unless you rea... |
You can remove the app you have for dropbox in facebook and then add it again, then you'll see what the permissions are and see if indeed they ask for the "xmpp_login" permission, if not please let me know what they do ask for. |
You got me intrigued and so I tried it myself, and you're right they are not asking for the "xmpp_login" permission, only "offline_access" and "publish_stream". |
I can't explain how they manage to pull that off, they don't do it in the client, I can see the request going to their servers. The best guess I have is that they have special privileges from facebook, I know that they do that with some companies. |
If I'm right about this, for you there are two options: use the send dialog or use the chat api. |
share|improve this answer |
Thanks for the answer, I will have a look. Not sure if this is what dropbox is doing, it's really got me stumped how they are able to do it – martincarlin87 Apr 26 '12 at 22:01 |
Edited my answer. – Nitzan Tomer Apr 26 '12 at 22:16 |
Thanks once again, much appreciated. I think you could be right about special privileges because I don't think it is possible without using the send dialogue and especially when it concerns private messages, it's a shame though, I was really hoping I could create an almost identical sharing app. Well done Dropbox thoug... |
If it's that important for you then just ask for the chat permissions and use that. It can be done, we're doing something very similar using the chat api. – Nitzan Tomer Apr 26 '12 at 22:54 |
add comment |
In Dropbox they are sending an email to the particular user with their facebook email address (eg.username@facebook.com) |
You can see this email address in your facebook General Account Settings. and you can see this note below it which says: |
"Your Facebook email is based on your public username. Email sent to this address goes to Facebook Messages." |
You just need to retrive the user's email id and their friend's username.... |
and you can send attachments along with it as well....!! |
share|improve this answer |
nice one, thanks for the info. – martincarlin87 Jul 26 at 13:26 |
add comment |
Your Answer |
Kore wa Zombie desu ka? Episode #11 (Mania.com) |
By:Chris Beveridge |
Review Date: Monday, March 28, 2011 |
Release Date: Monday, March 28, 2011 |
Ayumu's decision is made to get Yuu back and go back to the way things were. |
What They Say: |
Episode 11 - Yes, stay with me! |
The Review: |
With this episode of the series, the show takes a bit of a quiet turn for a lot of it after recent events that have put a strain on the relationships between all the characters. It does start off in an interesting way as we see Ayumu's body pull itself back together, which is pretty creepy but also a good reminder for ... |
All of it pushes Ayumu back towards having to deal with the King of the Night as he's intent on causing a whole lot of trouble, though he doesn't seem particularly keen on actually doing it. His threats about destroying the city are more matter of fact than anything else. It's a curious turn of events when they get tog... |
Ayumu's fight is for Yuu in the end and the scale of it here simply feels unusual in a couple of ways. The large scale presentation of the fight, with the student-styled whales floating around the tower and the sense of pure dread from it doesn't connect well. What feels even more out of place is the more personal figh... |
In Summary: |
Kore wa Zombie desu ka? is a series that really had me intrigued from the start and had some very emotional scenes that were very well done throughout it, but everything feels too forced and rushed here at the end. The main storyline does come to a decent conclusion that finishes off the main issue at hand, bringing Yu... |
Japanese 2.0 Language, English Subtitles |
Review Equipment |
Mania Grade: C+ |
Audio Rating: NA |
Video Rating: NA |
Packaging Rating: NA |
Menus Rating: NA |
Extras Rating: NA |
Age Rating: 16 and Up |
Region: All Region DVD |
Released By: Crunchyroll |
Running time: 24 |
Aspect Ratio: 1.78:1 Widescreen |
Disc Resolution: 480i/p |
Disc Encoding: MPEG-2 |
Series: Kore wa Zombie desu ka? |
Tom Clancy's Ghost Recon |
(YouTube link) |
Tom's Clancy's Ghost Recon is a video game released in 2001 with an eerie premise: |
Ghost Recon begins in April 2008, with civil unrest in Russia. Ultra-nationalists have seized power in Russia, with plans to rebuild the government. Their first step is clandestine support of rebel factions in Georgia and the Baltic States. This is where the Ghosts come in: to silence the invasion. Armed with some of t... |
Precient? Let's hope not: the further games in the series have the game characters fighting in Ethiopia in 2009, Cuba in 2010, Mexico in 2014, and in other grim scenarios. Link -Thanks, eLzo! |
Newest 5 |
Newest 5 Comments |
This is sad. Number One. You and I know very little. So, stop pretending. The BTC Pipeline is at stake. Ownership of S. Ossetia is at stake. It is nearing election time in the U.S.. Military-Industrial Complex has lead national foreign policy for years. Polls show certain activities will sway the majority vote a certai... |
Abusive comment hidden. (Show it anyway.) |
South Ossetia is nothing. Its a sparsely populated mountain region with few resources and no value. Its only value is as a defensive barrier to Russian aggression, and as such its a valuable piece of territory, like the Golan Heights in Israel. |
South Ossetians have been quasi independant, but SO is not totally non-Georgian, and there are dozens of villages with Georgian populations, that the Georgian government wants to protect. Naturally, the Russians and Ossetians want to drive those people out. |
Towards that end, the Russians have been giving aid and support to South Ossetians in order to keep the area under friendly control. In doing so, it preserves Russian options, and they can steamroll over the Georgians any time they please with few casualties. |
Without control of South Ossetia, Russian forces would face a stiff fight to even push through the narrow roads and gorges of SO without taking huge casualties. |
Georgia should retain control of SO, its their land. Russia should have a say in how its people are treated, but this is not the way to go about it. |
Russia has overplayed its hand here, and it will not be the victory they had hoped for when the US sells Georgia more ATGMs and attack helos. |
Abusive comment hidden. (Show it anyway.) |
Hey Mr. Toney Baloney; |
Should any region/person be allowed to succeed from a country just because they want to? Look at that idea played out in former Yugoslavia. Yugoslavia used to be a strong country that made awesome cars (jokes), but then the international community decided to allow it to break into a million different pieces. |
Speaking from an American standpoint, the USA would not have become as strong as it did if had just allowed the Southern Confederate States succeed. Should the Pacific NW be allowed to succeed? How about the ethnic minority of Caucasians in the USA, should they all be allowed to succeed from the United States because t... |
This is not an issue of right / wrong or self determination. It is simply an issue power. Russia wants more of it. The Georgians rightly realize they can't give up the region w/o loosing some of their own. The west realizes that they need this region to maintain their own power and an oil supply line. |
My problem is with the United States. There was a time when we wouldn't have dreamed of letting Russia take a hold of this region. Now we are busy fighting an imaginary 'war on terrorism', while we ignore and even support our real enemies; China and Russia. |
It seems like my country has lost its balls. It has no problem invading a country like Iraq, but we ignore China and Russia, mainly because they can fight back. |
That is Life. |
Abusive comment hidden. (Show it anyway.) |
oh Jonn R.. good conversation and credible sources NEVER start with "if you think 'this' you're just ignorant." |
and Darragh.. don't fuel the fire. |
in any rate, i don't really know what's going on over there. honestly, i don't care that much (yes, people are dying and it's terrible. i get it). what i DO care about though, is whether or not our fantastic government is gonna make it our problem too-- THEN i will care. because i don't know about you guys, but condi s... |
Abusive comment hidden. (Show it anyway.) |
Commenting is closed. |
Email This Post to a Friend |
"Tom Clancy's Ghost Recon" |
Separate multiple emails with a comma. Limit 5. |
Success! Your email has been sent! |
close window |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.