Android :: Posting Message On Friend Wall In Facebook
Jul 22, 2010
I have a problem in posting a message on friends wall in facebook. I write below code for posting a message.
private void postwall(){ try { FBRequest streamRequest = FBRequest.requestWithDelegate(new FBRequestDelegateImpl());
Map<String, String> parameters = new HashMap<String, String>();
frdlist = new String[list.size()]; for(int j=0;j < list.size();j++){
if (list.get(j).isChecked()) { frdlist[j]=String.valueOf(list.get(j).getUserid());
parameters.put("message", "HI.... its a test application of Dates Near Me");
parameters.put("attachment", "{"name":"Facebook Connect for Android","href":"http://code.google.com/p/fbconnect-android/","caption":"Caption","description":"De scr iption","media":[{"type":"image","src":"http://img40.yfrog.com/img40/5914/iphoneconnectbtn.jpg","href":"http://developers.facebook.com/connect.php?tab=iphone/"}],"properties":{"anotherlink":{"text":"Fac eb ook homepage","href":"http://www.facebook.com"}}}");
parameters.put("auto_publish" ,"true");
parameters.put("target_id" ,frdlist[j]);
parameters.put("uid" ,String.valueOf(FBSession.getSession().getUid()));
streamRequest.call("stream.publish", parameters);
} } } catch (Exception e) {
// TODO Auto-generated catch block e.printStackTrace();
} }
I am passing three values: message,target_id and uid. All values I get perfectly. But when I check my friends wall that time message is not display on wall.
View 1 Replies
Nov 22, 2010
I've got an issue when trying posting on my facebook wall from an application developed on an Android phone. Here's the problem: Sometimes different "strange" error message appear like "error with HelloIdahoFalls.com" or "HelloSiouxCity.com" or "HolyPlanets Connect" and so on. I really don't know why these sites appear on my error log. Seems like my Android KeyHash is in conflict with some of this sites. The strange thing is that sometimes my application works and posts correctly on my wall.
View 2 Replies
View Related
Sep 22, 2010
Is it possible to write on a friends wall through Friendstream? I can see their walls, like their posts, comment on posts, but I can't seem to just simply write on their walls.
View 2 Replies
View Related
Jun 10, 2010
All Facebook SDKs for Android require an "application key", which I assume is the API key for a facebook application that must be created on Facebook. Since all I want is to post to my wall without dealing with Facebook applications, is there an SDK for Android that doesn't require these api keys?
View 2 Replies
View Related
Aug 26, 2010
How to post message to Facebook using HTTP in Android? Maybe there are more simple ways?
View 1 Replies
View Related
Nov 13, 2010
I am developing an android application and i am using fbconnect android for connect face book,It is working fine for login and post comment in facebook's wall,but i want to display successful message, when i posted commented in facebook wall.How to do for that.
View 1 Replies
View Related
May 24, 2010
I'm not sure what's wrong with the application or if I am just being blind to it - but if I try to write on a friend's wall on facebook through the stream, there's no way to do so. I can only comment on their actions or other people's comments on their walls.
View 16 Replies
View Related
Sep 16, 2010
I have problem with fb sdk for Android (downloaded from http://github.com/facebook/facebook-android-sdk). Tried to post wall but always get error (permission already set and logged in to fb)
here is the code snippet onClick function, i made small modifications on their sample code:
CODE:..........
From DDMS i get the following error:
CODE:....................
View 4 Replies
View Related
Aug 5, 2010
I am working on an Android app where we enter some text in edit box and all I want to do is simply send the text which typed (i.e. edittext.gettext()) to Facebook as my status. The important thing is I don't want a Facebook dialog box to pop up, instead ,just send the message as status without a dialog box. Is there any way I could post without a dialog box?
View 2 Replies
View Related
Apr 19, 2010
I am currently using C:Geo on my phone for my Geocaching needs and am happy with its performance. I am also a user of Foursquare with Facebook and like to update where I am because I like to try new places. Along these lines I was thinking it would also be nice to share caches I have found with my friends, plus raise their awareness of Geocaching at the same time, by being able to have a found Geocache posted to facebook at the time it is marked found in the program. Has anyone heard of an Android app that would do this? If not have you heard of anyone developing one? If so I would definitely support such an app.
View 4 Replies
View Related
Nov 17, 2010
My application launches a thread to query the web for some data. I want to display a Toast message when nothing is found, but my application always crashes. I've tried using the application Context from within the thread, like so: Toast.makeText(getApplicationContext(), "testttt", Toast.LENGTH_LONG).show(); I've also tried creating a Runnable with the Toast call and calling runOnUiThread(runnable) from the Thread (the Toast call in this runnable uses the Activity as the first parameter). Does anyone have any ideas on how to accomplish this?
View 3 Replies
View Related
Dec 9, 2012
I have been searching a lot to find a way to do this. But nothing seems to be working for me.
This is my image button for facebook status post:
This is my mainactivity.java file's corresponding part:
[HIGH]public class MainActivity extends FacebookActivity {
private static final String APP_ID = "XXXXXXXXXXXXXXX";
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
[code]....
View 3 Replies
View Related
Aug 22, 2010
Is there a way you can tag someone when you post a pic on facebook on the Evo? I am not able to figure it out. Does anyone know how to go about that?
View 1 Replies
View Related
May 30, 2010
My husband and I just got our Droids and have been happily posting and relying away to our friend's Facebook walls and messages. When we reply, the reply shows on our Droid immediately. We've found out though that our friends aren't receiving our replies. Upon further checking, even though a reply to a wall post shows on our Droid, when we log into Facebook on a computer, the reply isn't there, and no one else sees it either. The same thing is happening when we reply to private messages on Facebook.
View 6 Replies
View Related
Jun 6, 2010
For the sake of simplicity, the pages on facebook that you "Like", I will refer to them as 'fan pages' (old name). I am admin of a fan page (which doesn't matter since everyone can post photos/videos). How can I upload photos from my phone to this page? The phone's 'Touch' page and 'Mobile' page will only allow me to upload to my profile, but that's not what I want. When I go to the fan page using the 'Touch' or 'Mobile' page, it never gives me option to upload photos, only to view them. I tried using the normal 'Full' facebook page on my phone but it just says "Upload Disabled" because I'm not on a PC. Can someone explain how I can upload a photo to a fan page? This was one of the bigger reasons I got this phone.
View 4 Replies
View Related
May 16, 2012
I just noticed that facebook was putting stuff on my calendar without me doing it and I can't seem to get them off. They only show up on my phones calendar, not when I open it in google. And the same items aren't even listed in my events on facebook.
View 2 Replies
View Related
Jul 22, 2010
I have unroot the phone and get problem with friend stream and facebook. I have a problem with friend stream and facebook account. Everytime I try to setup the account it tells me that "the service is currently unavailable. Do you want to try again? If I say yes get same message. I have been into facebook account setting all platform applications where turned on so I turned it off and then back on and still the same.
Tried turning the phone off then back on same thing happens. Rooted the phone again and then restored from nandroid. Still the same, so installed the rom I had before and retried still same message. Unrooted the phone again and get same problem. Also tried removing the apps from facebook application settings. When I connect I get email saying it is connected, facebook then shows htc sense back application settings, and platform apps shows htc sense in there.
View 2 Replies
View Related
Jun 8, 2010
It's annoying enough to have profile based news feeds from on the computer, but it makes Friend Stream almost unusable for me -- I really don't want what happened in this week's Office, or what Green Day is doing, or what Lost fan's favorite Hurley moments are in Friend Stream. Is there any way to disable these (or better yet, remove them from Facebook all-together?) Is there some privacy setting somewhere in Facebook that I've overlooked?
View 1 Replies
View Related
Apr 21, 2010
When I login in and try get extended premissins displays "You must be logged in to Facebook to use this feature".
How can I get extended permissions for posting messages in facebook?
View 1 Replies
View Related
Nov 18, 2010
I am using facebook sdk and with the help of example given with that SDK i developed a code to login and store access_token into database
i have 2 problems:
1). when i try to fetch access_token from database and pass it to facebook it doesn't allow me to post on wall using that example given with that facebook sdk, why is that so??
2). i gone through that facebook.java code, but what i got is that to post on a wall i got to open a dialogue box as there is no other method to pass my message straight away and post. Please tell me solution towards it or tel me wat should i do when i want to post on a wall without opening a dialogue box
code:............
Whats wrong with above code.. its not posting on wall and giving me Wall Post: empty on phone and emulator both.
View 1 Replies
View Related
Aug 31, 2010
I need to post message to a wall using FBConnect library for Android. How to do this?
View 1 Replies
View Related
Oct 20, 2010
I'm in my FB app, and my cousin posted photos to his news feed that I wanted to look at. I click it and it looks like it tries to send me to the m.facebook.com mobile site... except every time I click a picture, I get the following error: "The page you requested cannot be displayed right now. It may be temporarily unavailable, the link you clicked on may be broken or expired, or you may not have permission to view this page." I have had my DInc for two days now, and have not yet been able to view photos that are published to my news feed! And it's not just my cousin's photos, it's any photos on the news feed... even ones I post!
View 1 Replies
View Related
Apr 22, 2010
I'm having a problem with getting Facebook photos to upload to my wall. Instead they're just showing up in the Mobile Uploads section, without ever appearing in the news feed. I've searched everywhere online and found a few people with the same problem, but no solutions.
What's odd is I didn't have this problem when I tried the same thing yesterday. Yesterday was the first time I'd directly uploaded a photo from my phone to Facebook, though I've had my Droid for months. (Yeah, I'm a little slow with some of this stuff). I used the method of going to the Gallery, choosing my photo and then selecting Menu > Share > Facebook. I added a caption, and the photo & caption showed up on myFacebook wall, just the way I wanted.
Today I tried the same method for a new photo, and it didn't show up on my wall at all, just went straight to Mobile Uploads. As far as I can figure, I did everything exactly the same as I did it yesterday, but maybe I'm missing something. Can anyone think of a step I might have missed, or does anyone know a way to fix this?
View 29 Replies
View Related
May 5, 2010
Is it possible to sync my phone contacts manually with FB instead of FB dragging my entire friends list into my phone? Also, does anyone have a problem with Friend Stream not updating automatically (I have it set at every one hour).
View 2 Replies
View Related
May 28, 2010
I'm running 2.1 on my Sprint HTC Hero and I didn't have any problems syncing my contacts to their Facebook accounts.
My problem is, is that the phone took every friend off Facebook and put them in my contacts. How do I take that off. I don't need all 856 of my facebook friends in my phone. And to make it worse half of the numbers are like 1-800-Ask-Me.
View 8 Replies
View Related
Sep 5, 2010
I recently added a couple of friends to my Facebook account, and now I want to link them to their Google contact in my phone. Problem is, I can't find them in the options... If I go to the Facebook app, I see them, but when I go to the Google contact to try to link it, they aren't there. I've done some searches and it seems like they are supposed to just pop up randomly. It's been almost a week and that hasn't happened yet.
View 7 Replies
View Related
Oct 11, 2010
my wildfire is two weeks old. At first friend stream worked. I didn't use it after the first day and now I just keep getting an error message telling me to force close. How did you get around it?
View 2 Replies
View Related
May 16, 2010
Is there a way to do that conveniently? I am new to twitter and want to add all of my friends.
View 5 Replies
View Related
Jun 15, 2010
Over the last couple of weeks, I've had some problems with Facebook for HTC (between contacts and FriendStream). Through performing some fixes, I've had to remove my Facebook account from the phone, and set it up again twice. Well tonight, after removing the account, I could not get ANY of my contacts to show up at all. This includes my regular Google contacts (not just the ones synced with FB. It looked like the phone was trying to sync and never loading when I opened the people app.Well, this went on for about an hour with no luck, even with rebooting several times. I finally decided to setup my Facebook account again. Sure enough, once I setup the FB account, all of my contacts showed up fine with no syncing issue. The problem is, now when I go into a contact that has no FB contact link, press the "link" icon on the top right, select Facebook, it lists multiples of ALL of my Facebook friends. Almost as if each time I setup my Facebook account again, it just re-imported all of my FB friends without replacing them.How can I delete these duplicates, or even all of my Facebook contacts / friends from my phone, and re-import them? Anyone else have this issue? It seems that removing my Facebook account from my phone not only causes problems with all of my regular Google contacts, but also doesn't delete the Facebook friends left behind on the phone.
View 3 Replies
View Related
Mar 12, 2010
I hardly ever use facebook, and almost never from my computer. However, I do know you can tag a friend in a post using "@" in front of their name. I did this from the Droid and it just started the post with the text @My Friend content content content... It didn't actually tag him.
Anyone know if this just doesn't work from the Droid or what?
View 3 Replies
View Related