I am new to android and I am sorry if this type of question have been asked before.
Please give me an idea for sending and receiving friend request in android using Parse.
Although i know regarding ParseFacebookUtilsbut wanted to make such from the scratch using Parse User,Parse Query and Parser Object.
Your kind help will be appreciated.
Thanks in advance..:)
Worked once upon a time, but not anymore. Facebook isn't going to let a device it recognizes as mobile perform this action for reasons perhaps best eluded in the entrails of wild fowl.
So your task is to not let it recognize it's coming from an android =]
Here's my hack:
Android Facebook SDK and URL Methods form successful Friends Dialog, but cannot commit
best
-AnB
Related
I'm fairly new to Facebook SFD for Android.
What I'm trying to achieve is an Android app that uses facebook login, post to the user timeline and gets notified whenever one is commenting or liking that post.
I went thru Facebook tutorials for login and for Publish to Feed.
All went well.
Now I'm struggling with the last part. I don't see how to be notified whenever there is a like or comments. I browsed the web and stackoverflow forum without any success. I'm guessing that there is a mechanism to be notified by Facebook and that I don't have to start a process just to monitor the post...
Anyone could give me a hint on the API to use?
I'm currently looking at "Creating Object Types" section Associating Actions with Object Creation (https://developers.facebook.com/docs/opengraph/creating-object-types) but it looks like this describes how to do for facebook web app, and not for android app.
EDIT
I've found this https://developers.facebook.com/docs/graph-api/real-time-updates/ but not quite sure how to "translate" this into Android coding.
If anyone could help me with this, it would be greatly appreciated.
I guess you have to create a page in php that will handle the responses from Facebook, it starts with a
GET response from Facebook that you retrieve with $_GET["name"] in php, and you have to send back a confirmation to Facebook to confirm that the connection works, and Facebook will send you the answer you want via
a POST request ( $_POST["name"] ) (with a json object, containing the informations about the user in object for example, and the different updates in entry).
You can put all these informations in a database, and when the user start your application, you can automatically connect him to a php script that check if the database has new informations for him.
(specifying who he is, with a user variable that he keeps in the memory of his device, and then you ask for informations from the database about this user). I haven't tested, but it should work.
i want to make app that make a notification when breaking news has arrived to news website
during my search i found two ways to do that
1- using c2dm server & php & database
2- using timer that scan the website automaticly every time period i decide it
can any one help me by give me an example code for each method or a Tutorial for each method
I'm working on GCM as well. The first comment already told you the right way to solve your problem, but I wanna add something more is that This excellent tutorial
Read it, try to understand it. I think it is quite clear. Hope this help :)
C2DM is deprecated. You could use GCM instead. Go through this tutorial how to get started with it.
You can refer this too.
In my app i need something like that.In my app a user can easily be a member by signing up.Now when a user become a member then he can communicate with other members.Suppose a want to send a message(same message) to all users, same location as he is.Or it may be something like that a user want to send a message(same message) to another 5 users whom he knows.
How can i do that.
I googled may times.I thought web-service can do that job.But i didn't right way to do that.
Can anyone how can i do that with references ???
You can refer following:
Simple PHP With MySQl(To get basics, No Interaction with Android)
http://davidwalsh.name/web-service-php-mysql-xml-json
One Demo:(Interaction with Android)
http://www.codeproject.com/Articles/267023/Send-and-receive-json-between-android-and-php
Good Tutorial:(Interaction with Android)
part1-http://guruparang.blogspot.in/2012/11/connect-android-and-mysql-via-php.html
part2-http://guruparang.blogspot.in/2012/12/connect-android-and-mysql-via-php.html
Best Tutorial (Here u can get All the idea):
http://www.androidhive.info/2012/01/android-login-and-registration-with-php-mysql-and-sqlite/
Use parse.com
Download the sample app. The sample app works both locally in Android and on the server-side. It does the hardest part for you.
Just modify it to make it fit your needs.
I am working on android application which will have stories fetched from our server.
I want is whenever someone reads a story. A news is posted on facebook like Ron read Storyname on/via Androidapplication.
I am still not clear how to define reading either by liking/sharing/recommending.
Forexample, Goodreads or TimesofIndia.
Can anyone tell how to do that ??
I am not asking for code.
The API you want is called Open Graph, you can find the information here: https://developers.facebook.com/docs/opengraph/overview/
all
I have searched this in google, but I confused with lot of sites which are no clear step by step procedure I found.
If any have Idea what are all the things need to be done. Please guide me...!
Thanks in advance.
This looks similar the demo app in "Beginning Android" book. There they will create the http request and will send data to the server. They will get a HTML response, in which they will parse the data and displays to the user.
The main problem is, if u hard code the tag names, in future if it gets changes, then your app may not work. So better check whether there is any library (jar file) available for the wikipedia app. and try to make use of that.
Regards,
SSuman185