I want to track some events in Facebook from my Ionic 2 app, but I don't undertand how to do it.
I'm using this plugin to login with Facebook.
And if you see the available methods, there is a logEvent(name, params, valueToSum)
But what does it expect for each attribute?
In name, is any name or one predefined of the event to be tracked?
Which params should It contain?
ValueToSum?
Does anyone have an example, please?
Thank you very much in advance!
Related
I want to make sure about can we make custom multi friend selector of facebook in unity ?
I got the multi friend selector link . but there is no reference code regarding unity.
So if anyone has tried that feature then help me and share here.
Thanks..
Will you can get friends list using one of my plugins (Android Native or Mobile Social), you will also find friend list implementation example inside, here is example scene screenshot:
http:// i.stack.imgur.com/68y5R.jpg
And in case you do not want to use paid solutions you can get free Unity FB SDK for here.
https:// developers.facebook.com/docs/unity/downloads?locale=en_GB
And use
FB.API("/me?fields=friends.limit(10).fields(first_name,id,last_name,name,link,locale,location)", Facebook.HttpMethod.GET, FriendsDataCallBack);
To get your friends data. More info:
https:// developers.facebook.com/docs/graph-api/reference/v2.2/user/friends?locale=en_GB
P.S. Sorry for url formats. I ma new here, and can not add more than 2 links to my replay
I want to share an image from a website on Facebook and pass some attributes (e.g. a description) to the status update, all done by clicking on a link.
A few months ago this worked fine using the sharer.php but by now this script just accepts a URL as parameter and scrapes the target site for Open Graph meta tags. This new approach isn't very helpfull if you just want to share elements on a page instead of the whole page.
Yeah, I could create an app and use the feed dialog to achieve my goal. But I honestly don't want to walk through the tedious app validation process just to share an image with some additional info!
So, does anyone know of a way to avoid this app hassle? Perhaps some undocumented parameters for the new implementation of the sharer.php?
There's no need for app validation - as #CBroe correctly stated! So the feed dialog IS an adequate solution!
Background: I assumed an app needs validation to go live. But I just didn't set up my app properly to make it available to every Facebook user.
See the comments to gloat over my stupidity. ;)
Never had such problems with any of the software in my life.
I have a facebook page http://www.facebook.com/zelife.ru
and all the time I try to create a likebox code for inserting it on my web-site I see this:
"Could not retrieve id for the specified page. Please verify correct href was passed in."
As far as I understand, I need to get an ID, where should I get it?
Thanks in advance.
Art
The facebook like-box is designed for facebook pages only! You are trying to use your profile, that's why you're getting an error.
Firstly i know that the documentation provided by Facebook says that fb:multi-friend-selector can be used in pair with fb:request-form and that it could only sends inviations or requests.
I have more specific need and that is not only to make invitations/requests but also along with the previous to post something on selected friends walls.
I've tried everything but i cant take the id's selected from the fb:multi-friend-selector, so i'm unable to make this posts.
The doucmentation for fb:multi-friend-selector says: This interface includes a series of which are included for selected users in the form that gets submitted to your action URL.
Is it somehow possible to catch this id's?
I'm working on my app in C# .net.
I read in some of the previous posts that is treating problematics similar to mine that is impossible to do this, but i found application that works perfectly in way that i want to make my application.
Thanks in advance,
Ivan
You can access the selected friend's id in the page that you are providing in "action" of fb:request-form.I am working with PHP so i am able to get those selected friend's id as $_REQUEST['ids'].So try some equivalent methods in c# for this.And if you get the friend's id you can publish to their wall.
Hey Guys, so Ive created a Facebook page, no content as yet, really, i would like to know if it is possible and if so, how do I set it to be accessible from eg: www.facebook.com/mypage ?
Thanks in advance
Your page needs to have at least 25 fans, before you can create a custom name for it. For more info, read the official Facebook note on Usernames for Facebook Pages.