Android :: Posting On Facebook Through Application
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
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 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
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
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
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
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 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
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
Sep 16, 2010
I am trying to enable users who have linked their Facebook account to be able to post to their wall with one button press as detailed in their docs. Specifically, I do not want to use the .dialog methods provided in the Facebook for Android library, as I want the Publish process to be as seamless as possible.The specific call looks like this in an HTTP client simulator: HTTP POST https://graph.facebook.com/me/feed Content-type: application/x- www-form-urlencoded access_token=&link=http://mylink.com/id/1326&name=What do you think?&description=Description of the link This call runs successfully in HTTP Client on OS X. I originally tried using the Facebook for Android library's .dialog function with "stream.publish" action, but this causes the unwanted dialog to appear. Next, I tried using Facebook for Android's .request function with "POST" parameter, but this function assumes that the body is a byte array and fails in multiple places in the library. Now, I am trying to use the Apache HTTP stack included with Android.Specifically, my code looks like this: String url = "https://graph.facebook .com /me/feed"; ArrayList<NameValuePair> pairs = new ArrayList<NameValuePair>(4); pairs.add(new BasicNameValuePair("access_token", App.facebook.getAccessToken()));pairs.add(new BasicNameValuePair("link", "http://mylink.com/id/"+id)); pairs.add(new BasicName ValuePair("name", question)); pairs.add(new BasicNameValuePair("description", description));The problem is that the response from Facebook is consistently the following: {"error":{"type":"OAuthException","message":"Invalid OAuth access token."}}I know the OAuth access token is not invalid. When I paste the same OAuth access token into HTTP Client, it works like a champ. It seems that creating the HttpPost object's parameters is garbling the complex OAuth access token in some way. Does anyone have suggestions on how to proceed?
View 1 Replies
View Related
Sep 4, 2010
I am developing an Android application for which I would like to add Facebook functionality using Facebook's Android SDK. I have registered the application and acquired the ID and Secret, but what is the point of the URL? Am I supposed to install something on my website on that specific URL so that I Facebook can do the OAuth key exchange?
View 1 Replies
View Related
Feb 2, 2010
I want to form an xml and post it. Can anybody tell me how to form an xml in android.
View 2 Replies
View Related
Jun 9, 2010
I want to post my free version of the APK on my website so people can test it out without going through android market.I am using a third party web host site (windows based server).I tried <a href="freeapp.apk">, it doesn't work.I did some search and all I found was using Apache server to do that. Is there a way to host this apk on a windows server? What the html should look like? Where can I find more information about it?
View 3 Replies
View Related
Apr 22, 2009
I have a login oage which i hve to post with soem user details like user name , passwords, and some hidden values. i need to submit the response page aftr login (its an I agree) to make an API request . I want to do all thse things through code which needs to consider evry aspcts as we are doing the same using browser. I submited the first login page using code and got the resonse page. on submiting the I agree page I m redirected to a some other page.it seems the cookie is not handled while submiting the second page or may be some redirects or so.
The same is working well if i make the request through browser
The code I used is as follows
CODE:.............
THIS RESPONSE IS NOT CORRECT AS I EXPECTED.....
If any ppl cannot figure out a solution, whether we can load url in the browser class of android so tht we can get all the data in the browser and can use the methods associated with the browser.
View 2 Replies
View Related
Aug 8, 2010
I was trying to post a toast notification in case something goes wrong in a worker thread. I do this by putting a handler.post(funcFailed) in the catch block where funcFailed it a runnable and simply called a function funcFailedshow()
funcFailedshow() is defined to be Toast.makeText(App.this,"Error in funcfailed", Toast.LENGTH_LONG).show();
For some reason i cannot see the toast notification. Even if i replace App.this (app is the applications name) with a getApplicationContext() it does not work.
View 2 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
Oct 31, 2010
Using ACTION_SEND it's possible to post messages to various sharing services such as gmail, facebook, twitter, etc. Most services have reasonably long message lengths, but twitter in particular is very short (140 characters).
Not knowing in advance which service a user is going to select once the Intent.createChooser() dialog appears, is there a way to construct an intent that will result in a short message for twitter but a longer message for other services?
View 1 Replies
View Related
Jun 8, 2010
I am trying to use the facebook in my application. I had founded some webservices for dotNet . Like that is there any facebook webservices are available for android.
View 1 Replies
View Related
Mar 3, 2010
how to add facebook Application in my Android Application .i want to add a image button. when the user clicks on this button it should go to the facebook page .where the user can sign in .please anyone help me to solve this problem..please send me a source code of the App
View 1 Replies
View Related
Jan 28, 2010
I want to press an Android button and automatically direct the user to the PayPal site with all the relevant data POSTED along also.Is this possible?
View 1 Replies
View Related
Nov 19, 2010
Where to find complete tutorial for posting twitter status from android?
View 2 Replies
View Related
Jul 27, 2010
I am trying to create a facebook chat android app based on the information here: http://davanum.wordpress.com/2008/12/29/updated-xmpp-client-for-android/ [the source code can be downloaded right after the screenshots]
The app and code works just fine when I try to login to the gmail xmpp instant messaging server. However I cant get myself to login to the facebook chat server.
I used this: [url] in my configuration so:
facebook chat server: chat.facebook.com port: 5222 service: chat.facebook.com I'm not entirely sure about this so I have tried without the service parameter: ConnectionConfiguration connConfig = new ConnectionConfiguration(host, Integer.parseInt(port)); username: I have tried both: <my fb username> and <my fb username>@chat.facebook.com password: <my fb password>
I have noticed the request for no ssl so just in case I added to the code: connConfig.setSASLAuthenticationEnabled(false);
View 2 Replies
View Related
Mar 4, 2009
Do I need to download it? where is it?
View 49 Replies
View Related
May 8, 2010
Is it just me or does the Facebook app (both Android and HTC Sense versions) absolutely suck? I just came from a Blackberry Storm and while that phone is horrid, at least they got the Facebook implementation down. The Android app doesn't seem to pick up any notifications or events and I have yet to figure out what the HTC Sense version does other than sync Facebook pictures and spam my phonebook with people I never talk to. Let me give you some examples of my frustration: Someone invites me to an event. On Blackberry: The Facebook e-mail shows up in my gmail inbox but BB filters it out and it shows up as a notification in the Facebook app. I can open up the notification, see all of the event information in the app, including a description, who's invited and it is automatically added to my phone's calendar, along with all relevant information. On Droid Incredible: The Facebook e-mail shows up in my gmail inbox as an e-mail. No notification because the Facebook app polls. I open the app and refresh everything (notifications, inbox, friends etc) but the event doesn't show up. With no other choice, I open up the link in the inbox and it brings me to the Facebook Touch (not mobile) site, which only shows the bare minimum information (time and place). No idea how to add it to my calendar other than manually typing in all of the information......
View 24 Replies
View Related
Jan 13, 2010
I'm building an android app which should perform a GET on my site to get two cookies and then perform a post to the same site with these cookies.
As mentioned I start of with the GET and I'm using org.apache.http.client.HttpClient to perform this operation.
CODE:..............
So far so good. Don't mind the requiredCookies line yet, it will be used in the Java.net impl since I can't get the HttpClient one to work =(.
Let's take a look at the non working HttpClient Post part.
CODE:............
What happens now is that I perform a POST with the localContext where the cookies are stored. This doesn't work. I get a HTTP/1.1 401 No session. Since I had no luck with this I tried another approach(java.net.HttpURLConnection). Remember I still use the same GET part
CODE:.............
And VIOLA a 200 is displayed and everything works like a charm.
View 2 Replies
View Related
Oct 30, 2010
I saw some topics here regarding facebook and twitter integration with Android Application.
I need help regarding, is twitter integration with Android App possible in real? [I need to tweet on user's wall and all]
If i wanted to integrate Facebook with my App then whether i go as per explained in following link(and if this is the recommended way then how to implement this SDK):
http://forum.developers.facebook.net/viewtopic.php?pid=146956
or
else i use Android facebook SDK available here on code.google.com
View 1 Replies
View Related
Nov 9, 2010
Can I upload pictures from my android phone to facebook without using a usb or anything. By only using facebook on my PC when I am logged in. I have the facebook android app.
View 7 Replies
View Related
Mar 8, 2010
i made news applicaion in android using RSS feed and now i want to share some news ie i want to upload links from my app to facebook, twitter etc.Is it possible?
View 2 Replies
View Related