posting to app page - android

I have an app fb page and would like to be able to post messages on it. I am currently able to get my android code to post a msg to my own wall but I want to be able to post to my app page also.
Is this possible?
Do you have to be a member of the page also?
thanks

In the documentation (http://developers.facebook.com/docs/reference/api/page/#feed) it says:
feed
This connection corresponds to the Page's Wall. You can create a link,
post or status message by issuing an HTTP POST request to the
PAGE_ID/feed connection. To see more details please see links, posts,
and status messages documentation.
This official blog post (http://developers.facebook.com/blog/post/465/) shows how to do so with php, and a normal post request using curl, you can use that to create a java code for android.

Related

Android: post to a password protected server

I am trying to send information from my Android device to my php server. I followed this tutorial (http://www.codeofaninja.com/2013/04/android-http-client.html), but then realized there is nowhere to specify my useID and password to log into the server. a lot of search but could not get anywhere. I am new to both Android and Apache. Please advice, thanks.
well, i have to learn to ask the right question or enter the right words to search. i finally found with this post and got my answer.
Android HttpClient authentication always returns 401 code

Google Safe Browsing API v2 sample Implementation Android

I am trying to implement a Sample application in Android which gets the malware and phishing list from safe Browsing API and checks the authenticity of URL, this is client side method, but I am constantly getting 400 (Bad Request) as response code when I am trying to hit the URL.
Searched throughout the internet but couldn't get any sample working code.
Even on Developer's Guide page https://developers.google.com/safe-browsing/developers_guide_v2 it is not mentioned how to send the list name correctly in POST request for downloading or updating.
Please help me by providing the correct procedure of how to send list name (if code snippet can be posted, it would be great as I am new to Android.)
Check out that request should end with '\n'. It is common to ignore this. I hope it helps.

Android getting http request from clients

I creating an application that can teather the wifi and act as like a firewall to manage the sessions to their clients .
for example:
If i manage the clients http requests and response..after i authenticated the request ,then only the url has to be visible for them.otherwise it has to say page blocked.
In an Example provided by the google https://developers.google.com/analytics/devguides/collection/android/v2/sessions
It says it can manage sessions But I cant able to integrate it my project .Can anyone worked projects similar to this or anyone used analystics-api, help me to work on this
And how can i get the request page url from the user..
Try this example in your activity ..From this code you able manage your http requests and responses..session-handling-Exampe
Hope will help you..

HTTPPOST to tweet from an application

is it possible to tweet by sending an HTTP post request from our app. If so, can anyone tell how is that done.
As #Marc B suggests, if you check out the Twitter API documentation, you will find that publishing a tweet via POST is achievable by sending a request to "https://api.twitter.com/1/statuses/update.json" with the parameters outlined in the API docs.
Do you have a unique question regarding your application? You may wish to edit your question to provide a detailed description of your specific situation so that we can be more helpful.

Tag page into the Feed Facebook with Android

I have an application that is going to post on the wall with the method FEEd but I would like to link a name to a specific page.
I found that if I put this code: #[116380291722462:1:TicinoCinema] in this url: http://www.facebook.com/connect/prompt_feed. It's work but If I do this by Facebook api it's dosen't work
Method: String response = facebook.request("feed", params, "POST");
Param: params.putString("message", Utils.getTextCheckIn(location, "#[116380291722462:1:TicinoCinema]"));
What is the problem? When I am going to do this post I can't see the name TICINOCINEMA but the rest I can see, the api just remove my "tag" and post the message.
There is any other way to do that?
Unfortunately, the tagging in wall post is currently not supported via the feed dialog or other APIs. Please follow our developers blog to stay tuned on new API launches and updates.

Categories

Resources