Android :: Posting To Facebook Feed From Android App

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?

Android :: Posting to Facebook feed from Android app


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 View Related

Android :: Geocaching With Facebook Posting

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

Android :: Facebook Error When Posting On Wall

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

Posting Text Status Using Facebook API In Android?

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

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 View Related

Android :: Facebook News Feed Not Working

Sep 17, 2010

My facebook news feed hasn't been working all day on my xperia x10. Is anyone else having the same problem?

View 1 Replies View Related

Android :: Facebook News Feed Wont Load

May 11, 2010

my facebook app wont load the news feed it keeps saying error occured while fetching data i have restarted the phone several times and cant uninstall the app its not listed in the app list I can still view my friends and post but I cant see the news feed.

View 1 Replies View Related

Android :: Droid FBConnect : Unable To Get Extended Permissions / Get It For Posting Messages In Facebook?

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

HTC EVO 4G :: Facebook Not Allow To Tag When Posting Pictures?

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

Android :: How To Make Double Quote To Accept By Facebook Feed Post

Oct 4, 2010

friend's need help on posting the feed in facebook when string contains double quote,at the time facebook haven't accepting. for example if the content is something like this, Help on posting "feed" in facebook for android. suppose i need to post above at the time the feed title is getting null because of double quotes,how can i replace it with the same i have to post.

View 1 Replies View Related

Motorola Droid :: Replies Not Posting To Facebook

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

HTC Desire :: Facebook Wall Posting On Friendstream

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

HTC Incredible :: Posting Pictures To Facebook Fan Pages

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

General :: Facebook Posting Events To Calendar?

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

Motorola Droid X :: Facebook Live Feed - REAL Facebook Page On Droid X

Aug 5, 2010

I'm sure this isn't news to any of you veterans, but this is my first android device so please bare with me. I'm using the facebook app and have noticed that neither the app itself or the widget show the actual facebook live feed or provide a way to access it....

Of course my next thought was "well what if I just use the facebook page in a browser window". Turns out that's not as simple as I thought! Apparently facebook not only has a mobile page, it also has a "touch" page that it likes to route you to. Neither the mobile or the touch facebook pages have a way to access the live feed either....

View 2 Replies View Related

HTC Hero :: Facebook News Feed Now Says No Content?

Nov 21, 2010

Recently did some kind of update on my Hero. Now, when I click on my Facebook icon, and then the News Feed, all I get is "no content". How do I get my content to show on my Hero screen like it used to?

View 7 Replies View Related

HTC Incredible :: Default Live Feed On Touch.facebook.com

Aug 18, 2010

When I go to www.touch.facebook.com, the default view is the news feed. When you click on the news button, it changes to live feed. However, after I comment on someone's status or picture, etc, and then I click the back arrow to go back to the live feed, it defaults back to news feed. Also, if I am on live feed and click on the home button, it again defaults to news feed. Is there a way to permanently keep live feed on all the time?

View 1 Replies View Related

HTC Droid Eris :: Facebook App - News Feed Not Working Anymore?

Feb 5, 2010

For some reason, my Facebook App doesn't show the News Feed anymore. It worked this morning, but not anymore. When I click the News Feed button, it just says "Loading User Info" and then it shows my info.Anyone know how to fix this?

View 29 Replies View Related

General :: Facebook Home / Cover Feed On Lock Screen?

Feb 5, 2014

What is "home" or "cover feed?"

I was trying to remove all the damn Facebook birthday's from my Google Calendar on my Galaxy S3. When I finally managed to do that, I now have a new app called "cover feed" and something called "Home" displaying stuff from Facebook on my lock screen!!!!

How do I get rid of this? I didn't download it, or okay it, or turn it on via my settings and now it's just making unnecessary steps every time I want to unlock my phone.

View 1 Replies View Related

Motorola Droid :: Facebook Pics Not Showing Up In News / Live Feed

Jan 12, 2010

When I purchased my droid a month ago, all the pics on facebook for the live/news feed were showing up perfectly. About 2 weeks ago, none of the pictures display. They only have a "x" next to the update. At the bottom of my profile page, there is an option that shows: Photos: Off - On - Max. The setting is set to On.

View 1 Replies View Related

Motorola Droid :: Official Facebook Application - News Feed (No Content)

Aug 24, 2010

I am able to access my photos, friends etc., but when I click on News Feed, I get "No Content. An error has occurred while fetching data. MalformedJSON". Deleted/re-installed and made no difference.

View 2 Replies View Related

Motorola Droid :: Facebook - News Feed Wouldnt Load Any Of The Older Posts

Dec 24, 2009

This is the first problem that I have had with my droid. Actually I dont even consider it a problem just curious if anyone else has run into this. This morning my news feed wouldnt load any of the older posts. Then I uploaded a picture this morning 12/24 and it showed the date I uploaded it was on tuesday the 22nd at 4:28 PM.

View 1 Replies View Related

Android :: Forming XML And Posting It

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

Android :: Posting APK On Website

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

Android :: Posting Web Pages - Using Code

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

Android :: Posting Toast From Worker To UI Thread

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

Android :: Posting Toast Message From A Thread

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

Android :: How To Get RSS Feed App?

Oct 4, 2010

Does anyone know a good RSS Feed app?? I'm used to just using the one installed with MOTOBLUR on my CLIQ, however, now that I'm using my HTC HD2 w/ Android I can't seem to find a decent one that'll update with RSS feeds.

View 25 Replies View Related

Android :: Posting SMS To Twitter And Long Messages To Gmail?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved