Topic-icon Facebook-Twitter-LinkedIn - Callback log in database

Active Subscriptions:

None
11 years 7 months ago #47876 by none
Hi,

I just would like to ask if JFBconnect stores, logs any data about succesful likes, shares by Facebook, Twitter, LinkedIn or not?
We have a custom plugin and we would like to use/work with this data if someone could tell us where we can find it in the database. Which field contains this data?

Thanks
The topic has been locked.
Support Specialist
11 years 7 months ago #47877 by alzander
No, we do not store that information anywhere. With the new 6.2 release, we do have callbacks for Facebook Likes, Google +1's, LinkedIn Shares and Twitter Tweets which are used to award points to users when you're using Alpha User Points, JomSocial or EasySocial.

It should be possible to add your own code to store data about those sharing features if you want. However, and it's a big however, each social network returns different information about who shared the link. Some don't even show the username, just that a user shared it. If the user isn't logged into your site, you'll have no way to know 'who' did it.. just that someone did it.

I hope that helps explain. If you'd like to develop some code to store that in your database, we can point you to the right file and some info on where you'd get started.

Alex
The topic has been locked.
Active Subscriptions:

None
11 years 7 months ago #48188 by none
Thank you Alex,

If Im not mistaken then that means I have to modify the core file of JFBconnect?
The problem is that we also would like to get a feedback if the user liked, shared, tweeted the page but we would not like to modify the JFBconnect core files. I assume that is not possible.

Thanks
The topic has been locked.
Support Specialist
11 years 7 months ago #48195 by alzander

If Im not mistaken then that means I have to modify the core file of JFBconnect?

No, you could create a socialprofile plugin and use the triggers in there. You'd need a developer to help with doing this, but we already have great examples in our Alpha User Points plugin on how to get a notification when a share button is clicked. By creating a socialprofile plugin, you wouldn't have to worry about your changes being overwritten with each upgrade.

I hope that helps answer your question, but if you have any other questions, just let me know.

Thanks,
Alex
The topic has been locked.