I have an application that posts on the users' friends walls. clicking on the wall post will cause the user to navigate to out website.
I want to track how many users signed up for the website having reached it by clicking on a facebook post. Is there a way to do it using google analytics and if so how can it be done?
When you post something to the user's wall, add the ref parameter in. When someone clicks on the link, the ref parameter will get sent back to your site so you know the user came from facebook. Then it's up to you to detect this and log it in Google Analytics.
You should be using Facebook Insights to track stats like this. You can read lots more about it here:
https://developers.facebook.com/docs/insights/
Related
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.
I have an app that allows users to share the page to specific users by clicking on check boxes next to their name and then doing a bunch of posts. I received an alert in February that said I would not be able to post to friends' walls unless there is a dialog box.
However, I noticed if you sign a petition on Causes.com, they do something very similar where they post the petition to a bunch of friends' walls.
I'm curious how they get away with that. Maybe I'm not familiar enough with the Facebook API.
I'm not sure if this helps, but Facebook does have business partnerships with certain sites/companies that have more privileges to their api keys, facebook app. This could be one of these instances.
One instance of this is, when you go to a major site and the site is able to read your facebook session, and within that site they show your name and picture once the site is rendered. In essence, these sites already know who you are.
I have one question.
I want to share photos from my application via facebook.
There is no problem to share it on my wall, but is there any possibility to share it on friend's wall ?
Something like click share button, log in, choose friends and share it on their wall ?
I have been searching application in appstore which can do that, but i found nothing.
You can post to a user's friend's feed using the Graph API, assuming the user granted you the relevant (publish_stream) permissions.
POST /[friend]/feed
message=hello&picture=http://...
I should stress strongly that users consider this very spammy behavior for apps, and it is not generally recommended.
Source: https://developers.facebook.com/docs/reference/api/post/
I've searched for many many hours on this topic through google and also read a lot of questions here, but nothing solved my problem.
I'm making a facebook application, the application has offline_access and publish_stream permissions.
I can successfully post to users' wall.. but the user doesn't get any notification that the app posted to their wall.
I want the user do receive a notification whenever the app on their wall.
also is it possible to make the application post without user's name, (i.e with page name or application name)..
Thanks
you will have to use another social channel to generate
notifications
https://developers.facebook.com/docs/channels/#notifications such
as send a request.
To my knowledge, neither a page or application can post to a users wall. You can however have one user post to another users wall, or a user to a page/app wall.
I'm tring to send customized news to my users via Facebook.
I've tried posting private posts to their walls, so they show up on their news feed, but people got upset by the new posts on their wall (even though noone else can see them)
Is there a way to do this?
I considered building a page per user and suggest to the user to follow it - can this be done via API?
Can a user follow updates on just any page (non fan page) that he Liked, or that has a FB comments box?
Alternatively, can I programatically send Facebook notifications?
You can try creating a single Page for your app. Then when a user connects with your app, auto-follow that page so that all posts to that page show up in the user's feed.
Now just add new posts to that Page with privacy settings targetted at just that user.
Thats my off the cuff answer.