I would like to know is there any way to send a message to a friend in facebook from an android app.(Not wall post).Googled a lot about this topic but didn't get any proper solution.Guide me to some reference or blog
I am not sure about native application but you can do it from HTML5 application using javascript:-
https://developers.facebook.com/docs/reference/dialogs/send/
If no other solution place the script in an html file and load the same from the native app
Related
I am creating an image application in which I am trying to implement the feature to directly upload the photos to wordpress website after successful authentication. I am unable to find anything about this implementation on Android so any kind of help would be really helpful.
Try this url it's explain clearly !
and
All you thing is
1-Api to Upload image to web server(host)
2-Send request to Server
3-Need php programming
4-save data in database (It's not necessary)
Hope it help
I am making application in ionic and one of it's functionality to send mail so i have used plugin
problem is i am not able to generate link for android with gmail version > 6.10
Also tried to send mail using apps Gmail, Outlook, Bluemail every mail client giving different output.
Gmail version 6.10(ok) but 6.11(not generating links)
Outlook giving blank result (not event text as other mail client gives)
Bluemail same as Gmail
I'll be thankful if you have any solution of this.
EDIT
Sorry if you misunderstood "generate link" means using html content(<a href="...">)
Was using the plugin myself also, lots of problems and poorly maintained, just check their Github issues page to confirm, use this instead and you can specify to send via email using .shareViaEmail and include link in there.
Use var bodyText = document.getElementById("aaa").href; to get value for link, surely you must have <div><a href=‘YOURLINK’ id='aaa'>texthere</a></div> in HTML. Then pass it as as a message .shareViaEmail("PASS IT HERE",
i looking to get an android code for login in to soundcloud.com.I get an application from "https://github.com/soundcloud/android-intent-sharing". it is not ask to login when the user try to share sound with out login..? ,
can you suggest me any helping tutorial.
you are probably looking for this, Android is using Java.
i'm doing simple android project using phonegap. I have to send private message to my friends in facebook from my application. Is there any way to send message through Url?
Until recently Facebook didn't support the send dialogue on mobile, so you couldn't do that.
With their push of Facebook messenger, they started supporting private messages on mobile - https://developers.facebook.com/docs/ios/share#message-dialog
Not idea if there's a PhoneGap plugin that supports it, I'm looking for one as well...
Check Direct URL Example section in send dialog page
https://www.facebook.com/dialog/send?app_id=123050457758183&
name=People%20Argue%20Just%20to%20Win&
link=http://www.nytimes.com/2011/06/15/arts/people-argue-just-to-win-scholars-assert.html&
redirect_uri=http://www.example.com/response
This is a sample link given in documentation.
On m.facebook.com, no display is needed, nor is any other display than 'touch' allowed as we always default to 'touch'.
So that doesn't seem to solve the problem.
Facebook says it's a bug by design https://developers.facebook.com/bugs/507406422635550?browse=search_511bd57f912f84e18364257
I am trying for a facebook integration on my android application.
My requirement is to read each news feed as and when it comes, and to display it using a toast.
All the sample application I see on net are based on the web GUI.
Can anyone help me with a sample code or hint to read the updates into a variable/string in my application?
Regards,
Dhanesh
using this after login in facebook dialog..
Facebook fb = new Facebook(APP_ID);
String newsfeed=fb.request("me/home");
System.out.println(newsfeed);
for get user news feed....
I'm guessing it's easiest done using Facebook Android SDK (you need permission for your application to access someone's news feed);
http://developers.facebook.com/docs/guides/mobile/#android
And Graph API documentation is a good read too;
http://developers.facebook.com/docs/reference/api/
Maybe there's some better examples but I found those documents rather complete while I was dealing with Facebook accessing.
Check out the Facebook API at http://developers.facebook.com/
Have you looked at facebook's owns api. Mobile Apps. If they don't have a solution on getting new news, then theres probably no clean api to get news an you have to turn to a scrape api or write your own scrape functions.