i need to share messages in vkontakte and post those messages in wall. please any one help me solve this
Thanks in advance
harish
Check out this: http://habrahabr.ru/blogs/android_development/129648/ for an API implementation or just use Intent.ACTION_SEND in your app to let the official VK Android app handle your content (just like with email or twitter). Here's a useful link that describes how to filter out unwanted ACTION_SEND handlers if you want your app to share stuff via VK only: https://stackoverflow.com/a/8950207/375929
We posted and SDK just recently. You can try, there's a sample that exactly posts to wall. https://github.com/thest1/Android-VKontakte-SDK http://habrahabr.ru/post/143339/
Related
I want my app to send private messages to user's friend. So I've read the official facebook tutorial but I found only examples of sending with the help of the messeger. So I asked myself: "And if the user hasn't got Messager installed? There is no way for him?". Maybe I should use Intent with SEND_ACTION (I saw this constraction somewhere).
So the question: "Is there a way of sending messages without the help of the Messager?" and if there is, could you plese post the example or the link.
Thanks in advance
The only ways to send a message to another user are the Send Dialog and the Message Dialog.
If they donĀ“t work without the installed Messenger, there is no other way.
At present i am struggling to post a comment to a photo on facebook wall .
Can any one direct me the graph-api for posting comment to the facebook photo?
Thanks
So, if you want to publish something, you need to use POST request for facebook-graph-api.
Facebook has a graph structure, so, each thing has connections to other things.
You need to post a message to photo. Ok.
If you have an access_token, you can you POST-request for Graph-API.
OK, after all things, just create an URL for request: https://graph.facebook.com/PHOTO_ID/comments?message=MESSAGE&access_token=ACCESS_TOKEN and use POST:
POST https://graph.facebook.com/PHOTO_ID/comments?message=MESSAGE&access_token=ACCESS_TOKEN
See more information in Publishing section
Adding the icon
You can manage icons from your app's dashboard: https://developers.facebook.com/apps/APP_ID/appdetails
I have an application that authenticates users through the LinkedIn API. My questions:
is it possible for an application to like messages to all users who authorized it?
is it possible to get like list of a message to a subset of the application users?
I've been looking for a while, and can't find anything.
Via the Groups API of the LinkedIn APIs, you can like a post in a particular group using the following JavaScript code (XXXX is the particular post id):
IN.API.Raw('/posts/XXXX/relation-to-viewer/is-liked')
.method('PUT')
.body("true")
.result(function(result) {
alert(JSON.stringify(result));
})
.error(function(result) {
alert(JSON.stringify(result));
});
However, keep in mind that likes should not be automated but user initiated - only users who have authenticated your app should be liking posts, and only when they manually choose to do so. Writing a script that automatically likes all posts from any user that posts a message from your app is against the LinkedIn API terms of service.
Can't confirm for sure but maybe this link about likes can help u and give a clues about possible options.. Reported example you can find here or here. However I have no guaranty that this works cause I am not author of those posts.. Maybe u will find better and more accurate answer at LinkedIn API forum..
Hope it helped a bit.. Cheers
I can able to login, but facing difficulty in posting message on facebook wall. can somebody give me the possible resolutions?
check out the link below:
http://www.android10.org/index.php/articleslibraries/290-facebook-integration-in-your-android-application
Just, don't forget to add app ID in your code. And its the efficient code you can get...:)
I am using the facebook API in my app, i know how to post message on wall. my requirement is, i want read the wall information of user recent status information through code .
How can i achieve this...
for example. from my facebook account i want to get the latest status information.
Here's a great example of using the GraphAPI to do that
https://graph.facebook.com/me/feed?access_token={}
Try it out here: https://developers.facebook.com/tools/explorer
EDIT
I stumbled across this the other day. There's a connection from the user object called statuses, which filters the stream even more than feed. As with many graph calls, you can add ?limit=N to limit the result set. So this new way I discovered would look like:
https://graph.facebook.com/me/statuses?limit=1&access_token={}
You should use a third party API such as Easy Facebook SDK. It allows you to do what you are trying to do with ease.
U should check it out here:
http://developers.facebook.com/blog/post/385/