Skip to content Skip to sidebar Skip to footer

How To Tag Friends In A Wall Post Using Facebbok Sdk In Android?

I am trying to tag one friend in my wall post. But this 'tags' parameter isn't working. How can i tag one/more friends? Pls help me. Thank you in advance. Bundle params

Solution 1:

You can tag multiple friends using the "tags" key itself. But the syntax needs to be bit different. The friend ids must be appended in a string separated by comma. There should not be any spaces between the ids.

For eg:

params.putString("tags", "xxxxx1,xxxxx2");

This worked perfectly for me.


Solution 2:

As Ming have mentioned, you can not tag friends using the Feed Dialog.

The only way to tag friends in a post, is using the Open Graph Concept- Mention Tagging


Solution 3:

See the documentation for the supported parameters to the Feed dialog here:

https://developers.facebook.com/docs/reference/dialogs/feed/

The Feed dialog does not support "tags".


Post a Comment for "How To Tag Friends In A Wall Post Using Facebbok Sdk In Android?"