Facebook app how to post on users wall - facebook

I've developed an Facebook app: http://ek2012spel.startpagina.nl/. I've developed one before and the last time I've included the option to post a message on your wall whenever you scored a point.
But I noticed Facebook changed it's policy to prevent spamming to a wall. And I salute them for it. So I wanted to try something else.
Include a Like Button.
Only the people that press the Like button get news updates in their stream.
The news updates won't be automated. It will be me telling them a new round has started or something similar.
I'm pretty sure this is (or at least was) possible. Question is; how?
Should I create a seperate Facebook user for my app?
A new page (or is it called tab)? And link the Like button on my app to that page?
Sub issue: My current Like Button is linked to an (old) URL. The URL redirects to the new one. Any chance I can change the URL without losing all the likes?

That document was referring to an old App Profile page - these were removed in February -I've updated that doc to show the current way to create a page for your app (the option is now in the 'Advanced' tab of the app settings.)
Based on what you've said above, you should do one of the following:
Create a page for the app and get users to like it, and then use the page to post updates for the game's user
Use app to user requests to alert the user that something has happened - this will increment a counter in the user's bookmark for your app to bring them back to it
Obtain the user's email address from the API (needs the email permission) and email them directly.
Posting to user's timelines (/USER_ID/feed) automatically each time you have news to share will result in the spam filters shutting down your app very quickly indeed (bear in mind this will appear to all their friends as a message 'from' that user)

Related

Am I allowed to make an app that allows users to like Facebook pages?

I want to create an app that simply allows a user to log in, touch a like button, and then the app logs them out. I am wondering if this type of app would be allowed by Facebook, since the main functionality is all Facebook related. The app would be used by business to help them increase their Facebook page following. Is this allowed?
Yes, you are. Pratically every like button you see in blog posts and product pages in online stores works like that (except for the logout).

How to Update Users Activity Through Facebook App

When I start using an app on Facebook, the app shows "10K people using this app", but before to do that I need to "subscribe" to that app (click a button telling me that I'm going to be using that app) How do I do that with my own app, so I can keep track of the amount of users using it?
Besides, when someone starts using my app (an online magazine) I want to update their activity with something like "John Doe is Reading < Name of the App >"
What elements of the Facebook API do I need to achieve such behaviors?
The "number of people using this app" statistic is added by Facebook automatically to the app authentication dialog. If you want to show it in your app (manually), you can make a call to /{your_app_id} and use the weekly_active_users or monthly_active_users count.
As for the activity, Facebook automatically posts "User is using App". You won't be able to do "User is reading app" as the page needs to be a object-type that accepts 'read'. 'Read' would only work if you are reading a blog, article, etc.
If you are interested in pursuing it anyway, you need the publish_actions permission and you need to register the read action in the App Settings. The facebook documentation has everything you need to get started.

How to get App ID for an existing facebook page?

I have the following case:
My client already has a facebook page with timeline and a decent amount of likes.
My job is to integrate facebook comments and facebook like to their website. For this I need an App ID, which I can easily get by creating a new app on developers.facebook.com
What I want is to somehow connect this app to the client's page so;
it shows up on their insights report
maybe likes and interactions get connected to the client's page instead of an app
I have already spent many hours trying to get this to work, but I don't yet see a way.
I can imagine that when I create a new App and then add a page to that app I have them connected. Though my client's company isn't an "app", it's a real-world business. Also, this way my clients loses all their likes on their current page.
Please help me figuring out the right way to do this.
Thanks in advance.
If you have a Pretty URL, you can go to http://graph.facebook.com/{yourpagename}. The App ID of the page will be right there at the top. If you do NOT have a Pretty URL for the page, the App ID of the page is the number at the very end of its URL.
There's no way to link an existing app and page (by 'link' i mean mark the page as being the page which represents that app) - you can of course install an app on to your page as a tab, or use an app to manage the page and post updates, etc, the documentation for both of which is on the main developer site
Login to your page >> Click on Settings > Click on Apps from left panel > Select your page app >> Go to the bottom
Here you can find User ID

Is there a way to publish stories with links without a user being forced to add the content to the user's timeline?

I'm interested in creating an app on an external website that will publish logged-in user's article reads to their timeline. However, I've noticed that when a story is published to timeline, other users who are not connected with your app, are forced to "Add to Timeline". To me, this defeats the purpose because I want users who are not associated with our brand to discover our content and then add it to the timeline if they are a fan of ours. Is there a way to turn off this setting? or is everyone FORCED to add an app to the timeline before they can see the content?
for instance, when I click on a story posted by the Washington Post on someone's timeline, I get this screen -> http://dl.dropbox.com/u/1169963/timeline.png when I expected it to just bring me straight to the article. Most users are going to abandon the app at this point and never click on a Washington Post article again
and it looks like people are making browser plugins to stop this from happening:
http://techcrunch.com/2011/12/01/frictionless-kills-facebook-social-article-readers-dead/
so, is there a way for developers to prevent this all together?
What do you mean about FORCED ? If i give permissions, after app produces timeline posts, it will combine and show as an application box in my timeline. But before it, i can see my friends timeline apps without installing them. Also same in newsticker in news feed...
For example in my profile http://facebook.com/chaylock , you should see my NIVEA Mega Kutu timeline app without interacting app..

Is there anything like a badge that I can programmatically place on a user's page?

I would like to be able to place a permanent image or better yet and iframe in a user's facebook page. The image or iframe would be reloaded from my website every time the page is viewed so that it contains the most recent data.
Can I do this? If not, how close can I get? (For instance, posting things in the User's info page, or in their feeds.)
You used to be able to do this using Profile Boxes, but there's no similar functionality that currently exists to do what you're describing.