Re: [android-developers] Facebook integration

2012-03-12 Thread Ralph Bergmann | the4thFloor.eu
Am 12.03.12 11:55, schrieb Live Happy:
> i have integrate face book in my android  application but it there a way
> to get the online friends and also can i write a message to the inbox
> not to the wall of friends ?

is a little bit off-topic

http://qpleple.com/fetch-online-friends-list-with-facebook-graph-api/

https://developers.facebook.com/docs/reference/api/message/


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Facebook integration

2012-03-16 Thread Narendra Singh Rathore
On Mon, Mar 12, 2012 at 4:25 PM, Live Happy  wrote:

> i have integrate face book in my android  application
>

Can you please suggest me how to integrate that in brief steps?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Facebook integration

2012-03-17 Thread Live Happy
u can follow this tutorial have all step and also instal the sdk who
include some example you can use them in ur application

http://developers.facebook.com/docs/mobile/android/build/

On Fri, Mar 16, 2012 at 4:06 PM, Narendra Singh Rathore <
nsr.curi...@gmail.com> wrote:

>
>
> On Mon, Mar 12, 2012 at 4:25 PM, Live Happy  wrote:
>
>> i have integrate face book in my android  application
>>
>
> Can you please suggest me how to integrate that in brief steps?
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Facebook integration

2011-09-27 Thread shital suryawanshi
hi sapna
i am also think to develop facebook application
thanks
shital

> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Facebook integration

2011-09-28 Thread NAVI NEW
Sure that is working , i have also tried that works fine.

On Tue, Sep 27, 2011 at 3:59 PM, shital suryawanshi <
shital.andr...@gmail.com> wrote:

> hi sapna
> i am also think to develop facebook application
> thanks
> shital
>
>> --
>>
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Facebook integration

2011-09-28 Thread gaurav gupta
Hello Sapna,

U cant make custom layout for facebook login or authentication. FB dont
provide this facility.

M using this code for FB post.

This will add in OnComplete Method.

Bundle parameters = *new* Bundle();

parameters.putString("message", "is Listening to " );// the


  parameters.putString("attachment",

 "{\"name\":\"My Test Image\"," + "\"href\":\"" +

  "http://www.google.com"; + "\"," +

  "\"media\":[{\"type\":\"image\",\"src\":\"" +

  "http://www.google.com/logos/mucha10-hp.jpg"; +

  "\",\"href\":\"" + "http://www.google.com"; + "\"}]" + "}");



facebookClient.dialog(*this*, "stream.publish", parameters, *this*);

But FB SDK have some proble now ..it will show snap, snap name but it will
not show any message written on its post textarea.Go and check Github issues
section and check this . This is still a open issue. This problem is related
to FB upgration.

Kindly check which Facebook version is installed in your testing device.

i found that problem in FB 1.5 or later versions.

Kindly check it and let me know.I also waiting for this issue to sort by
FB.




On Thu, Sep 29, 2011 at 10:44 AM, NAVI NEW  wrote:

> Sure that is working , i have also tried that works fine.
>
>
> On Tue, Sep 27, 2011 at 3:59 PM, shital suryawanshi <
> shital.andr...@gmail.com> wrote:
>
>> hi sapna
>> i am also think to develop facebook application
>> thanks
>> shital
>>
>>>  --
>>>
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-developers@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] facebook integration

2011-04-16 Thread Kristopher Micinski
No. You can try to look for a facebook library, but there's no built in
Android support for it.

Type in "facebook android" in google:
https://developers.facebook.com/blog/post/385/

Kris

On Sat, Apr 16, 2011 at 6:05 PM, bob  wrote:

> Does Android support any kind of facebook integration such as posting
> to someone's wall?
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] facebook integration

2011-04-16 Thread Kristopher Micinski
P.s.,

http://www.easyfacebookandroidsdk.com/

Kris...

On Sat, Apr 16, 2011 at 6:16 PM, Kristopher Micinski  wrote:

> No. You can try to look for a facebook library, but there's no built in
> Android support for it.
>
> Type in "facebook android" in google:
> https://developers.facebook.com/blog/post/385/
>
> Kris
>
> On Sat, Apr 16, 2011 at 6:05 PM, bob  wrote:
>
>> Does Android support any kind of facebook integration such as posting
>> to someone's wall?
>>
>> Thanks.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Facebook Integration issue

2011-07-16 Thread Nasif Noorudeen
are using fbconnect
On Sat, Jul 16, 2011 at 12:53 PM, gaurav gupta wrote:

> HI Guys,
> M trying to integrate facebook in my application. I have to simple publish
> my status using facebook application.
> but its not working and giving me this in logcat. (in a particular device),
> but in my nexus same code working fine.
> Please suggest me .
> My facebook doesnot work and gives following warning in Logcat.
>
> 07-16 12:40:42.594: VERBOSE/PlayerDriver(83): status=5
> 07-16 12:40:42.614: INFO/ActivityManager(142): Start proc
> com.facebook.katana for activity com.facebook.katana/.ProxyAuth: pid=1844
> uid=10012 gids={3003, 1015}
> 07-16 12:40:42.724: INFO/ActivityThread(1844): Publishing provider
> com.facebook.katana.provider.LoggingProvider:
> com.facebook.katana.provider.LoggingProvider
> 07-16 12:40:42.854: INFO/ActivityThread(1844): Publishing provider
> com.facebook.katana.provider.NotificationsProvider:
> com.facebook.katana.provider.NotificationsProvider
> 07-16 12:40:42.864: INFO/ActivityThread(1844): Publishing provider
> com.facebook.katana.provider.KeyValueProvider:
> com.facebook.katana.provider.KeyValueProvider
> 07-16 12:40:42.864: INFO/ActivityThread(1844): Publishing provider
> com.facebook.katana.provider.ChatHistoryProvider:
> com.facebook.katana.provider.ChatHistoryProvider
> 07-16 12:40:42.874: INFO/ActivityThread(1844): Publishing provider
> com.facebook.katana.provider.UserValuesProvider:
> com.facebook.katana.provider.UserValuesProvider
> 07-16 12:40:42.874: INFO/ActivityThread(1844): Publishing provider
> com.facebook.katana.provider.FriendsProvider:
> com.facebook.katana.provider.FriendsProvider
> 07-16 12:40:42.884: INFO/ActivityThread(1844): Publishing provider
> com.facebook.katana.provider.PagesProvider:
> com.facebook.katana.provider.PagesProvider
> 07-16 12:40:42.884: INFO/ActivityThread(1844): Publishing provider
> com.facebook.katana.provider.MailboxProvider:
> com.facebook.katana.provider.MailboxProvider
> 07-16 12:40:42.894: INFO/ActivityThread(1844): Publishing provider
> com.facebook.katana.provider.UserStatusesProvider:
> com.facebook.katana.provider.UserStatusesProvider
> 07-16 12:40:42.894: INFO/ActivityThread(1844): Publishing provider
> com.facebook.katana.provider.PhotosProvider:
> com.facebook.katana.provider.PhotosProvider
> 07-16 12:40:42.904: INFO/ActivityThread(1844): Publishing provider
> com.facebook.katana.provider.EventsProvider:
> com.facebook.katana.provider.EventsProvider
> 07-16 12:40:43.014: ERROR/Facebook-ProxyAuth(1844): Failed to read calling
> package's signature.
> 07-16 12:40:43.084: INFO/ActivityManager(142): Starting activity: Intent {
> act=android.intent.action.VIEW flg=0x400
> cmp=com.facebook.katana/.LoginActivity (has extras) }
>
> Please suggest me on this topic.
>
>
> Thanks & Regards
> Gaurav Gupta
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Facebook Integration issue

2011-07-16 Thread gaurav gupta
Hi Nasif,
M using fbconnect.jar.


package abc.face.activity;
import java.io.IOException;
import java.net.MalformedURLException;
import com.facebook.android.AsyncFacebookRunner;
import com.facebook.android.DialogError;
import com.facebook.android.Facebook;
import com.facebook.android.Facebook.DialogListener;
import com.facebook.android.FacebookError;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.widget.Toast;

public class FacebookDemoActivity extends Activity implements DialogListener
{
 AsyncFacebookRunner mAsyncRunner;
 Facebook mFacebook;
 private static final String[] PERMISSIONS =  new String[]
{"publish_stream", "read_stream", "offline_access"};
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
FbLogin();
}



 public void FbLogin(){
  mFacebook=new Facebook("APPID");
  try {
   Log.d("logout for previous logoing","logout form previous");
   mFacebook.logout(getApplicationContext());
  } catch (MalformedURLException e) {
   // TODO Auto-generated catch block
   e.printStackTrace();
  } catch (IOException e) {
   // TODO Auto-generated catch block
   e.printStackTrace();
  }
  Log.d("Authorization","logout form previous");
  mFacebook.authorize(this, new String[] { "publish_stream",
"read_stream", "offline_access" }, this);

 }

@Override
 public void onComplete(Bundle values) {
  // TODO Auto-generated method stub
  if (values.isEmpty()) {
   return;
  }
  if (!values.containsKey("post_id")) {
   try {
Toast.makeText(FacebookDemoActivity.this, "facebook oncomplete  is
calling", Toast.LENGTH_LONG).show();
Bundle parameters = new Bundle();
parameters
  .putString("message", "Shouting Loud  " + "Main 21 vi sadi ka ladka
hoon,maine uski...");// the

  parameters.putString("attachment",
  "{\"name\":\"My Test Image\"," + "\"href\":\"" +
  "http://www.google.com"; + "\"," +
  "\"media\":[{\"type\":\"image\",\"src\":\"" +
  "http://www.google.com/logos/mucha10-hp.jpg"; +
  "\",\"href\":\"" + "http://www.google.com"; + "\"}]" + "}");

 mFacebook.dialog(this, "stream.publish", parameters, this);
   } catch (Exception e) {
System.out.println(e.getMessage());
   }
  }


 }
 @Override
 public void onFacebookError(FacebookError e) {
  // TODO Auto-generated method stub

 }
 @Override
 public void onError(DialogError e) {
  // TODO Auto-generated method stub

 }
 @Override
 public void onCancel() {
  // TODO Auto-generated method stub

 }

 /*public class AuthorizeListener extends BaseDialogListener {
  public void onComplete(Bundle values) {
   Bundle params = new Bundle();
   params.putString("message"," Message");
   params.putString("description", "Wall Posting Description");
 mAsyncRunner.request("me/feed", params, "POST",new
UploadListener()); }
 }

public class UploadListener extends BaseRequestListener {
 public void onComplete(final String response) {

 mAsyncRunner.request(mFacebook.logout(getApplicationContext()), new
LogoutListener());
 }

 public class LogoutListener extends BaseRequestListener {
  public void onComplete(final String response) {

  }}


*/
 //}
}

and this is my full code.
APPID is not insert here only. its works fine on nexus one but not working
in a non launched mobile.

On Sat, Jul 16, 2011 at 12:55 PM, Nasif Noorudeen  wrote:

>
> are using fbconnect
> On Sat, Jul 16, 2011 at 12:53 PM, gaurav gupta 
> wrote:
>
>> HI Guys,
>> M trying to integrate facebook in my application. I have to simple publish
>> my status using facebook application.
>> but its not working and giving me this in logcat. (in a particular
>> device), but in my nexus same code working fine.
>> Please suggest me .
>> My facebook doesnot work and gives following warning in Logcat.
>>
>> 07-16 12:40:42.594: VERBOSE/PlayerDriver(83): status=5
>> 07-16 12:40:42.614: INFO/ActivityManager(142): Start proc
>> com.facebook.katana for activity com.facebook.katana/.ProxyAuth: pid=1844
>> uid=10012 gids={3003, 1015}
>> 07-16 12:40:42.724: INFO/ActivityThread(1844): Publishing provider
>> com.facebook.katana.provider.LoggingProvider:
>> com.facebook.katana.provider.LoggingProvider
>> 07-16 12:40:42.854: INFO/ActivityThread(1844): Publishing provider
>> com.facebook.katana.provider.NotificationsProvider:
>> com.facebook.katana.provider.NotificationsProvider
>> 07-16 12:40:42.864: INFO/ActivityThread(1844): Publishing provider
>> com.facebook.katana.provider.KeyValueProvider:
>> com.facebook.katana.provider.KeyValueProvider
>> 07-16 12:40:42.864: INFO/ActivityThread(1844): Publishing provider
>> com.facebook.katana.provider.ChatHistoryProvider:
>> com.facebook.katana.provider.ChatHistoryProvider
>> 07-16 12:40:42.874: INFO/ActivityThread(1844): Publishing provider
>> com.facebook.katana.provider.UserValuesProvider:
>> com.facebook.katana.provid