I am trying to replicate the "share" functionality provided by the "share" link under a wall post: The dialog shows a dropdown box at the top allowing me to choose whether to post to my timeline, in a group, the wall of a page I manage (etc).
Ideally I'd like to able to do this without having to get extended permissions from the user. So I tried FB.ui() but could only get "Post to your wall" to post to the user's timeline. It doesn't have the same dropdown box at the top.
Accordiong to the doc I should be able to provide a page id as the "from" parameter to enable users to use the dialog to post to a page (assuming they are admins of the page). So I tried this but I always get the same "Post to your wall" dialog (even tho I'm admin of the page given).
The doc page contains a link How can I use the Feed Dialog to post on a Facebook Fan Page wall not liked by the user? but it's a dead link :-[
So can it be done using the dialog? Or do I have to get "manage_pages" permission and post to /pageId/feed (as here)?
Thanks!
Well it seems today I can do it using the feed dialog after all. I tried apage based on the example in the doc added my page id as the "from" parameter and it works.
I need to be logged on as a page admin, but I don't need to be "using Facebook as" the page.
Related
I am using Facebook's feed dialog to prompt a user to share a link to their facebook wall (
Facebook's feed dialog)
but when I try view the post when I'm logged in as a different user I get an error saying the page does not exist. I'm assuming this is because I'm not a 'friend' of the person that made the original post (using the feed dialog).
My question is: is there a way to set the feed dialog to make the post public and viewable to everyone and not just their friends?
No, only the user has the privileges to determinate the post visibility
I am trying to link a like box on website to facebook fan page.
http://witheri.com
I created an APP (developer.facebook.com), went to settings -> advanced -> add page to create a fan page for a band. Then I used this open graph like button (http://developers.facebook.com/docs/reference/plugins/like/) to link page.
It is working on website, but when I click like, it creates a 3rd page, an insight page, with this message "This is the administration interface for your webpage at http://witheri.com. You can see Insights and publish to the users that have liked your webpage. Only the administrators of the webpage can view this interface, other users are sent to the webpage."
This is all fine, but I want the likes to appear on the fan page instead of the insight page. How can I fix this?
That message explains the situation; the people who use the Like button are liking http://witheri.com , the page you see on Facebook.com is only visible to you, and lets you see the insights for who likes the page, and lets you post things which will appear in the fans' news feeds
as the subject describes, when I facebook-like an video-item or other type of page of our homepage, it turns into a whole "facebook page" instead of a timeline-post.
Why is that?
I have tried to lint it at the facebook-linter, and it says that there's noting wrong. The type of the video is "video.other".
E.g: http://metopia.se/tube/NKQeT/lanterna-education-summer-courses
When I liked that page, it turned into this page:
http://www.facebook.com/pages/Lanterna-Education-Summer-Courses/334204833309981
Which I am admin for.
Am I doing something wrong here?
You're not doing anything wrong; this is expected behavior:
Website owner puts FB Like button on site.
Website visitor clicks said Like button.
Timeline story is generated for the website visitor. It appears on his timeline and in his friends' News Feeds.
I liked the page myself to confirm.
What you're seeing is expected if you have liked the page and have also designated yourself as an admin for the page (i.e., whoever is denoted via the fb:admins Open Graph meta tag). Judging by that page's source I'm guessing you're either Adam or Mathias?
You should read up on Facebook's Open Graph protocol. In short, putting a Like button on a website will create a corresponding Open Graph fan page for whatever location is referenced by that Like button's href attribute.
I have a like button on a blog post here - http://blog.thinkplanrun.com/2012/03/2012-tpr-shoe-madness/ - right now it shows 17 "likes". I am unable to see the FB community page associated with this URL when logged into my FB account. I currently see quite a few other community pages from external URL "likes" and my official FB Fan Page, but not for this specific article. Using the debugging tool (http://developers.facebook.com/tools/debug) for this URL it has my admin account listed under admin ... what am I missing?
That blog post is not a page, it is a link.
Instead of trying to view the url in the debug tool, try the Graph API Explorer with the url.
As you can see, it has "link_stat" as the type.
On the other hand, if you use the same tool for your page you'll see that the type is "page".
Why do you want it to be a page?
In my app http://www.facebook.com/citynumbers?sk=app_195571338990 I use a Dialog Feed to let users post on a friend's wall. It works fine, but it could be better:
After posting to a friend's wall nothing is posted to my own wall/timeline. Can this be done with the Dialog Feed or should I use another method?
I noticed when I do not type an additional text with the post, it does not appear on top of my friends page when this friend is already using the new FB Timeline (unless he or she changes some settings fro the app). Is there a way to fill in a default text with the post where it says "Write on [user]'s wall..." in the dialog? Or another workaround?
This is the url that opens the dialog:
http://www.facebook.com/dialog/feed?app_id=195571338990&link=http://apps.facebook.com/citynumbersfriends&picture=http://citynumbers.com/pics/facebook/clubbing_tn.jpg&name=Voor 2012 wens ik je: veel leuke avonden met je vrienden in de kroeg!&to=[user_id]&caption=Stuur%20ook%20een%20nieuwjaarswens%20naar%20jouw%20vrienden!&description=Powered by http://citynumbers.com&redirect_uri=http://www.facebook.com/citynumbers?sk=app_195571338990
The feed dialog posts only on the timeline of the person selected. If you want the user to make two posts, you need to use the dialog twice.
The second issue is a bug: https://developers.facebook.com/bugs/304599676247502