Today,I use the facebook android sdk to develope app.
I want to get my facebook's the list of videos,but I get it as follow.
https://graph.facebook.com/v2.3/me/videos
{"data":[]}
I find the request command "/{user-id}/videos",but it can't get the useful data.it's empty.I don't know how to solve it.
ps:In my facebook homepage,I have two public videos.
Related
I need to post tweets not only with text but also with images.
I already tried socialauth library, which doesn't support images in tweets.
What is best way to implement twitter sharing from my Android application?
Should work fine with scribe, haven't tested this sample in a while and I know twitter shut off some of its older APIs but I think the example still works fine.
Once you get your auth token you'll still do an OAuthRequest like my example, but the verb will be POST and you'll need to attach a body. You'll use this API instead of verify_credentials https://dev.twitter.com/docs/api/1.1/post/statuses/update_with_media
http://schwiz.net/blog/2011/using-scribe-with-android/
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 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
I have the Facebook SDK for Android used in my app. I can't seem to find any examples or documentation on how to use the SDK code to get Friend Requests. I have the permission "read_requests" set. Does anyone know the graphPath parameter that should be used for Friend Request?
example: "me/????????"
me/friendrequests
https://developers.facebook.com/docs/reference/api/user/#friendrequests
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.