I'm building an Open Graph App that should be able to publish, retrieve, and delete custom actions and custom objects in/from user profiles. I followed the step-by-step instructions and tried to publish action to my profile. I kept getting error #100 until I enabled timeline on my profile and then it worked.
My questions: does open graph work only for users with enabled timeline? what about all other facebook users who haven't enabled timeline? Is there another way to publish, retrieve and delete custom actions/objects which support all users?
Open Graph Actions are only created/published for users who have timeline and allowed publish_actions permission to your Application.
BTW, OpenGraph is a protocol not Facebook functionality:
The Open Graph protocol enables any web page to become a rich object in a social graph. For instance, this is used on Facebook to allow any web page to have the same functionality as any other object on Facebook.
The Open Graph protocol was originally created at Facebook and is inspired by Dublin Core, link-rel canonical, Microformats, and RDFa.
It is currently being consumed by Facebook (see their documentation), Google (see their documentation), and mixi. It is being published by IMDb, Microsoft, NHL, Posterous, Rotten Tomatoes, TIME, Yelp, and many many others.
Related
I want to follow users through Facebook Graph API.There is no documentation available.
That is not possible via API – most likely because it would just be abused to much, and have app developers subscribing user to follow people without the user being aware of it.
For the web, there is a social plugin available, so that the user can actively trigger a subscription: https://developers.facebook.com/docs/plugins/follow-button/
Typically when an application publishes to Facebook via the Graph API, Facebook includes a little link at the top of the news item indicating which application posted it, linking to the application's website.
I noticed recently that when Instagram shares a photo to Facebook the "Instagram" link at the top of the item points to the actual photo permalink instagram.com/p/whatever instead of just instagram.com.
Is it possible to set a custom URL per-post when publishing via the Graph API? Or some other mechanism? Or is this a special insider configuration for IG only?
I have a blog and I want that whatever is posted in the blog should get directly posted on my facebook profile/page. Basically I wish to post my blog's RSS feed to my facebook profile/page. I used RSS Graffiti to accomplish the task but somehow it seems like that isn't working.
You should forget about the user profile for that. First of all, you are not allowed to use the user profile for commercial reasons, it´s ONLY a user profile, for you and your friends, not a platform to advertise. And then there´s the problem with the Access Token. An Extended User Token lasts for 60 days, so you would have to refresh it every 2 months if you want to autopost stuff to Facebook.
Now for your Facebook Page, you can create an Extended Page Token that lasts forever. The rest is explained in the Facebook docs: https://developers.facebook.com/docs/graph-api/reference/v2.2/page/feed#publish
In general, you need to use a Page Token with publish_actions to post to the /page-id/feed endpoint.
Information about Access Tokens and how to generate and extend them:
https://developers.facebook.com/docs/facebook-login/access-tokens
http://www.devils-heaven.com/facebook-access-tokens/
At this point, Facebook does not let you add an RSS feed to automatically do that.
I would recommend using a tool like IFTTT which does it very well!
Facebook between 2009-2011 had a feature which allowed you to add blog feeds from any format to your profile so it would publish. It was later introduced into Facebook Pages and some how discontinued in the main profiles of users on Facebook, so that businesses appear as businesses and everyone else appears as everyone else, since currently on my profile on Facebook, my content from Flickr, Twitter, Google+, YouTube and my other accounts are automatically published to my main Facebook profile. This is because I signed up and started using Facebook in 2009 to the current date.
What really annoys me is that there is so much info online about how to do this but I have to say is that Facebook can easily adjust it's service to include RSS Feeds in it's platform through the app http:// facebook .com/apps/feed , which basically shows your updates from the games you play on Facebook, which is annoying that Facebook hasn't even got round to replacing RSS Feeds into profiles.
I'll send some support requests to Facebook (lets say tons of support requests) and I'll ask them to add it back in because other users are slightly annoyed. I'm annoyed with the childish icons that they have (including the icon for the Instagram app, which, yes, is owned by Facebook).
Another way is by connecting your apps that you use to your Facebook account by going to either the respective app in Facebook itself or by finding the setting Connect To Facebook in the Settings of your accounts on other Third-Party services. As an example, you can use PlayStation Network (PSN) by connecting your PlayStation account to your Facebook through the PS4 itself by going into Settings > Account Settings > Link Services > Facebook and then type in your login details, as usual. This will log you and keep you signed into your Facebook account on your PSN account. This means that everytime you interact with PSN by the associated Facebook service, your interaction is posted to Facebook based on the settings whether it's set to post as Private or Public. This means that everytime you play a game or decide to setup a Live Stream, your post is posted to Facebook from the PS4 automatically. Same method could also work with Blogger app for Facebook by connecting your Facebook to your Blogger account (in Google+ settings if you've switched to the new profile interface). So it's possible, yes, in other apps now more than before so it's also the reason for why Facebook probably removed Feeds.
If anyone wants to see my updates from my connected apps and connected data, you can follow my Public hashtag posts at http://facebook.com/search/top/?q=%23warrenwoodhouse and you can follow the same hashtag on every service available including PSN, Facebook, Twitter, Google+, Google Search, Google Images, Google Videos, YouTube, YouTube Gaming, Instagram, Flickr and other services. If you're interested in seeing my full feed updates, I've created a nice feed on FeedBurner at http:// feeds. feedburner .com/warrenwoodhouse
I have been working on a Facebook app for some time, and we are having trouble getting the app approved. I feel like Facebook's app approval process is a constantly moving target and their explanations are provide the least amount of detail possible, leaving the door open for further rejections.
We are using a Facebook app to provide sharing functionality for products that are behind a paywall. All of our share buttons are custom, so they fit in our designs (we don't want to use the out of the box buttons). We first built the app attempting to use the recommended share dialog with open graph actions and stories. The problem here is that you can only use the share dialog with a shared link. Facebook reads any open graph tags on the page to provide sharing information, but because there are many different "products" on a given page, we can't use open graph tags. Because of our environment, we couldn't use the actions or stories. Furthermore, we'd like to customize that share information, so using share dialog is not an option.
Unfortunately, we had left our open graph stories and actions in our app when we first attempted approval. In our first denial, Facebook told us that we had implemented our open graph actions and stories incorrectly. We were not using the share dialog, but the 'feed' method, which is deprecated in 2.0 but still works. Thinking that Facebook looked at our app and noticed we were not using those actions correctly, we figured if we removed those stories and actions from the app, Facebook would see our share method worked and approve us. Wrong.
We had built the share using the publish_actions permission, along with FB.login() and FB.ui(). Facebook denied us because our app did not need publish_actions. They recommended we use the share dialog which did not need login or permissions.
We removed the publish_actions permission and FB.login(). When we tested this, you could still login to Facebook and perform the share WITHOUT fb.login(). So we thought it was good to go. It was not; Facebook told us we needed to implement login(), even thought the docs say you don't need it.
Now we have reimplemented login() and are going to try to get it approved again, but I have a feeling it's going to get rejected due to the 'feed' method being deprecated.
So my questions are:
A) If you have a website providing a paid service, how do you allow your users to post to their feeds, using the newer share method, with data you'd like? Eg: "I just completed the Get Moving III workout at teamexos.com!" The post would contain no pics or links. If it had to, a link to teamexos.com would be ok.
B) How do paid sites provide open graph actions and stories? Do they have public links to their products? Do those products have their own individual pages, with their own open graph tags?
First of all, the feed dialog is not deprecated, at least not anymore. You do not need to get anything approved for it, and you certainly don´t need login: https://developers.facebook.com/docs/sharing/reference/feed-dialog/
But: Your example looks like an Open Graph story, you should consider taking a look at those: https://developers.facebook.com/docs/sharing/opengraph
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Putting a whole Facebook application in the timeline?
There are some apps on Facebook which does not use Canvas but they leverage Facebook Timeline well; Tumblr, ESPN, Feedly, GoodReads and name a few. They don't have Canvas but they only post the User's Activity in Timeline (Such as 'read article', 'viewed article'). I'm looking forward to create such app. Even if you search for those Apps in Facebook you will be redirected to respective website.
I've been through Facebook Documentation but its a pain. All the docs, videos and articles I read were regarding Canvas Apps however an article from insidefacebook gave me some idea about Facebook Apps still no success.
Can anyone please help with that?
To integrate your app with the Facebook TimeLine, you need to use the Open Graph API.
The Open Graph API enables users to performed more specific, high-level social actions beyond comment, like and share. For example, instead of posting a link to a review via the Graph API, a movie review app can with the Open Graph API allow users to "review" "action movies","comedies", etc. A book reader app can allow users to share when they "started reading" and "finished reading" a "Russian novel".
To implement an Open Graph app, you need to define object and actions for your app. Objects can be selected from existing object types e.g. "video" or you can implement your own app-specific custom object types, e.g. "action movie". Actions can be built in action types e.g. "watch" or custom action types, e.g. "started reading".
Here is a step-by-step tutorial on Facebook Developer on how to get started with your Open Graph app.