I want to give users a button to send a link via Facebook message to their friends. For dektop devices, there is the send dialog, which works great: https://developers.facebook.com/docs/sharing/reference/send-dialog
As stated in the documentation, it doesn't work on mobile devices and just throws an error. Things get further complicated because some users have the Facebook App installed and some don't.
The perfect solution would be along:
Try to send the message via the app. I found fb://messaging/compose but could not find a way to prepopulate it with a link.
If that fails, send the message via the mobile website. I couldn't find anything for that.
The next best thing would be to share the link, instead of sending a message. I tried http://www.facebook.com/sharer/sharer.php?u=http://www.example.com, but that doesn't open the app, even if it is installed.
Any thoughts would be appreciated.
The way to send private messages on your website is making a link going directly to facebook message page.
http://www.facebook.com/messages/[user_id]
Check out this answer. They got the same problem. URL to compose Facebook email/message (compose email via URL-params)
Related
I am creating an app for android device and I was wondering if it is possible to connect my app with an e-mail account and have notifications every time the (let's say the gmail account) receives a new mail, and display the message in a new activity. I have researched a lot but I have not found something really useful.
Can anyone give me a clue on how to do it or even where to look for?
Yes. It is possible. You have to create an email client.
Here are some good email clients
You need to use the email client API for that. Here is Gmail API, you can find more my googling.
i created an android app that talks to a web server written in NODEjs, i built login/sign up system and its working good. I want to add the connect with facebook thing, i succeed added it to my application,and after i hit log in with facebook i get the access token and everything, but what do i do next? how i connect it to my node server? i need to register new account? but what the password would be? I didnt find a lot of information of how exctly all this done. I also know of passport.js(The facebook strategy) in node, but i cant seem to understand how it working if i already have the access token from my android app.
I would be happy if someone could explain me exctly how its all working and what i should do next. thanks!
In my application I need to integrate twitter into my application. I tried to integrate it with callback url and everything was fine. I could sent my message successfully and see that message on my page.
However, adding callback url into twitter made problem for iPhone app. Now, I need to find a way to send my message without using callback url.
I searched the Internet and unfortunately all tutorials were based on callback method. Is it possible to send message without using callback method? If you know any documentation please share it with me.
Thanks
To avoid navigation url you can use Htmlunit and authorize your form programmatically.
Here the same issue with dropbox: http://wastedcodetime.blogspot.com/?view=sidebar
I developed an app on android that will send an apprequest to another facebook account and it works well.
When I open facebook in my computer's browser, it does show a notification that my android app has sent an apprequest. But if I open facebook using the facebook app for android on my phone, I can't see that notification (other notifications such as someone post on my wall still showing so the notification function is working).
Is that the problem of my code or the apprequest simply can't work on cell phone?
If you use computer's browser and get the Notification in your Facebook profile wall post . then it is successfully posted and works as it has to be.
But if you not able to see that post in your Facebook Mobile app then it is because of the facebook security. Please change the Security of your facebook profile by computer's browser. and then try to see it using facebook mobile app.
Hope it will help you.
Enjoy. :)
you need to change the configuration in the app page on facebook. you need to write it as a "mobile web" application on the "base" section.
I need to tweet on twitter some specific message. I need to do that for iphone and andorid using as3. While searching, I got a solution to navigateToUrl (to url 'http://twitter.com/home?status=message') and post, its working but it remains to the account of the user. I searched some apis also but didnt find any useful way to sending a tweet from a as3 flash app. Can any one please help me??
You can do this by using URLRequests to hit the twitter API after logging in with oAuth. There are also a couple of libs available to you for doing this.
http://wiki.swfjunkie.com/tweetr
You can use ExternalInterface with javascript to send tweets.
See here.
And here.