Track information about shared post at Facebook API - facebook

Is it possible to track information about shared post from my website with Facebook?
Scenario:
User click "Repost" button at my site, fill comment at "Post to Facebook" window and click "Share". After this I need to track info about this post: reposts and people, who do it, is it deleted, comments and so on.

No, there is no way to do this, unless you authorize the User with the apropriate permissions and check his stream once in a while - either with a cron job or with the Realtime API.
You can also try using Insights for your domain: https://developers.facebook.com/docs/platforminsights/domains

Related

How to automatically post to Facebook

Please could you help. I have created a website that allows people to upload listings of items they are selling. I want to know how to add the feature where when someone creates a listing, it automatically posts on the user's FB page, with a link to the listing on our website. Is this possible? Would the user have to log into our website using their FB account for this to happen? Thanks everyone for your help.
Martin
You need to create a Facebook App and use Facebook Graph API with publish_actions permissions to do that. Note that the facebook rules prohibit sending fully automated messages that the user has no control, your user must have the ability to edit the message before sending

Does Facebook send notifications to my web page by the fb app?

I have searched on Google and Fb's documentation about this but didn't find anything.
I've already shared content of my page on Facebook with the Share button provided by FB's api and also made an app on Facebook.
Now I want to receive notifications in my page when someone comments the publication or likes it.
I know that I can consult the posts/comments/likes if the user gives me the permissions, but I don't want to do this every 5 minutes. I want that facebook notifies me like a push notification.
How can I do that if it's possible?
Thanks!
After the user shared something on his wall, there is no way for you to get notified about comments/likes on that wall post, unless you authorize the user with user_status or read_stream.
That being said, there is the Realtime API with the feed and statuses fields to subscribe to: https://developers.facebook.com/docs/graph-api/real-time-updates/
That´s probably the best option, although you must authorize the user with the correct permissions too.

Facebook contest / promotion app force user to share post

I'm developing a Page Tab App for a contest/promotion and my client wants participants to share a certain post on their own wall to be eligible for winning. I have a few questions about this:
Is that even legal, under Facebook's promotions guidelines? Note that we don't want the user to share to be able to participate, but to be eligible for winning.
How would we go around the privacy issue for each user? I mean, can we force a user to share a post publicly, even if the normal setting is - for instance - "friends only"?
Still on privacy: can I even access who shared a certain post by using the Graph API, or get a callback response from Facebook when the user shares a post? I don't think so - the only way I see it is that the contest administrators would have to check every user's wall to see if he/she shared the post publicly. Is that how it's normally done?
I know some of these questions are duplicated but couldn't find a proper answer, so I'm asking them together here.

Logging clicks on a particular link

I have a link on my facebook page and I want to generate a log that records which user clicked that link at what time. How can I do this ?
You cannot see which user clicked that link and at what time. That would be a violation of privacy. Facebook Insights are aggregated analytics.
The most you can so it use a link-tracking service such as bit.ly. But that won't tell you anything more than Facebook Insights will.

Integrating facebook 'compose new message' popup into my website

I am designing a website that will be heavily integrated with facebook. Members connect to the site via their facebook accounts and facebook authentication/permission is used to access their friends list and other information.
There are instances in which I would like the site to be able to send facebook inbox messages to selected people from the user's friends list (in a user initiated manner).
I have discovered that this is not possible through facebook permissions.
One idea that I have is to have Facebook's "Compose New Message" popup to appear overlayed on top of my site (as would appear when clicking the "Send new message" button on a user's profile page). The user would then type a message and press send (hopefully circumventing the permissions issue).
I have browsed the facebook developer docs and forums, but my technical knowledge is limited. I just want to know if this is possible or not, and to be pointed in the direction of material on how this could be achieved (so that I can pass this on to hired developers once I reach that stage)
Any help or suggestions on alternatives would be gratefully received!
Pete
The closest you can be to your goal is using the Send Button. However, this button is used to share links, which are usually open graph pages. What you can to is specify a dummy href/link so that it shows a blank page. Or, better if you actually needed a link attached, then you have no problem.
There is no way of doing it using Graph API Message Object. There are no publishing rights to this object whatever permission you ask from the user. It is read-only. Just look at the extended permission it is only read_mailbox - "READ_mailbox".
Even FQL can't help us with this.
Also, facebook is in the process of migrating to a new messaging system. So playing around with is now is not advisable.
What you can do now is utilize the Send button I mentioned above.