I have a web site where a user authenticates using Facebook and based on an action of the user in my site I post to a friend's wall.
To post on the friend's wall I use the graph api, posting to "/userid/feed". And the posts show correctly on the friend's wall.
The problem I'm having is that if the post has a link on it (using the "link" argument) it won't be displayed in the notifications section of the friend's Facebook (i.e. the globe icon on top). If I just post some message and a picture to the wall it does show on the notifications, but links won't show.
Is this the expected behavior or is it a bug in the API?
In any case, how can I do something that assures me that my user's friend gets a notification in their Facebook?
Thanks for the help!
Yes this is expected behavior. There isn't really any way around this. You can send an app request that links to the post, but it will only manifest as an app notification, which does increment certain counters, but not the globe at the top.
Related
I'm designing a WP7.1 App that publishes to other user's wall, using Facebook C# Sdk, without user interaction (i.e. in Background).
I searched for methods and discovered that a POST would do the things.
However, Facebook Roadmap Page and this Blog Post, mentions that the ability to post to other user's wall by Graph API has been removed and instead Feeds Dialog must be used.
My question is:
- Is this change going to affect the above POST Method.
- If Yes, then, is there a workaround to POST on other user's wall without User Interaction ( i.e. IN Background).
now to post on friends wall, either you must use feed dialog, that will prompt user.
but if you don't want to prompt user then you can post on your user wall with a tag to user's friend, assuming friend approve the tag it'll show up on tagged friends wall.
I developed a simple app on Faceobok that posts something on user wall. My issue is that the post isn't seen on wall stream, so he/she will probably never read it.
I developed this app in PHP with Facebook PHP-SDK and to post on user's wall i use: $facebook->api($userId .'/feed/','post',$attachment).
Is it possible to show the post also on user' stream? (Maybe I forget to add a key/value in the attached array...)
Alternatively, is it possible to send a notification to the user in place of post or a notification linking to the wall post?
The post is personalized, so this is why I don't use a facebook page.
Thanks in advance.
Maybe you want to send them an app-to-user request …? http://developers.facebook.com/docs/requests/
But keep in mind that you have to delete these requests yourself, once the user followed them.
Posting on the user stream is not possible (posts are visible just on user's friends stream).
Notification are not allowed, just for requests.
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/
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.
below is my FB api call in PHP5, which successfully publishes my feed to the App's Wall and the user's news feed.
$facebook->api_client->stream_publish($message, $attachment, $action_links, APP_ID, $facebook_uid);
I'd like to know if there's a way to publish the same feed to the app's wall, user's news feed AND user's own wall - all three places in one publish.
I could send the stream twice (once for the app and once for user's wall) but it gets hard to manage the comments/likes later on.
Any suggestion? Thanks in advance.
Posting to a user's feed will also have that Post appear in the users' friends' News Feeds - so two of the things you're asking for are already there via one publish.
Posting to the app's wall is something you probably shouldn't be doing from a user's perspective, as it won't be seen by anyone except people browsing the app's profile page's wall. If you do need to do this for some reason, just make a second publish call and change the target_id parameter to the page ID (old REST API) or Post to /<app page id>/feed if using the Graph API