facebook-graph-api,dynamics-crm,dynamics-crm-2015 , Facebook Graph API(Version 2.3) publish event on a page from CRM plugin/wflow using C#/JS

Facebook Graph API(Version 2.3) publish event on a page from CRM plugin/wflow using C#/JS


Tag: facebook-graph-api,dynamics-crm,dynamics-crm-2015

In FB Graph API version 1 we had written a plugin and some js which used to push details of our campaign record in CRM to a predefined FB page as an event.

Now in Version 2.3 the publishing endpoint is missing from the GRAPH api.(events)

My questions are

1) Is there a possible way/workaround to achieve the same use-case using Version 2.3 2) Can my client pay Facebook so that they allow us to achieve the same.(publish an event on our company page from CRM)

If I have missed something in the new graph api, do let me know

thanks in advance.


As you correctly stated the ability to create events has vanished with the introduction of the Graph API v2.0.


You cannot create events via the Graph API.

I highly doubt there is a workaround, and if, it would be against FB's platform policies IMHO. Also, there is no way to do a "buy-in" as far as I know.


Dynamics CRM 2011 Plugin Deploy Error

I'm developing a custom plugin for CRM. When I deploy plugin to CRM on Virtual PC, I get the error below. Error registering plugins and/or workflows. Legacy plugin steps are only supported in Pre-validation and Post-operation stages How can I resolve this error ?...

Facebook Graph API(Version 2.3) publish event on a page from CRM plugin/wflow using C#/JS

In FB Graph API version 1 we had written a plugin and some js which used to push details of our campaign record in CRM to a predefined FB page as an event. Now in Version 2.3 the publishing endpoint is missing from the GRAPH api.(events) My questions are 1)...

Creating a website for a restaurant with facebook api [closed]

I've my own webdevelopment company and I have a new customer this week who wants to have a facebook API on his site. I've worked with the API before for my personal website but never with a customer. And my question was what is the best way to get a...

How to use complex search phrase in Facebook Graph API?

The Facebook site allows to search for phrases like: Pages liked by people who are older than 50 and live in Munich, Germany. How can I do that with the Graph API? If this is not possible, do you know a workaround to do such searches automatically?...

Facebook Login for the iOS app occurring outside of the appliaction

I am using Facebook login for my iOS app .For the first time the user needs to login via Facebookand When a login is asked the app is redirecting to Safari browser or it will redirect to the Facebook app if the Facebook app is installed on your device. But...

How can we see users’ information through Facebook Graph API in Android?

I am making a dating app (android) by using Facebook API (You know the similar application that starts with tin…) Anyways, I registered my application in Facebook developers and I also got approval to use functions that I need through 'Submit Items for Approval'(my Approved Items: email, public_profile, User_photo, User_like,...

Debugging a Dynamics CRM Plug-in

I'm having trouble debugging a Dynamics CRM Online (2015) plug-in (C#). I'm following the instructions on this MSDN article to attach to a process. In the Attach To Process window, I select "Show processes from all users" and refresh. However, I don't see any of the four service processes listed...

Facebook - “Cannot query users by their username” solution

I am developing an android app. I was using a HttpURLConnection to get profile pictures of facebook users. The URL looks like this: http://graph.facebook.com/?ids=username1,username2,username3&fields=picture&type=square But now, since v2.2 doesn't let me to get profile pictures of users who are not using my facebook app, it throws an error: { "error":...

Read post from Facebook home

I am having probleimi with my code. In short what I would do is show on my website the latest posts of home on facebook. I allowed my appa for permission "facebook_stream" (which is still under review). When I try to process the Facebook code gives me this error: "Uncaught...

In Facebook marketing API, where to set target URL of an Ad Campaign

I would like to create an Ad Campaign with the Marketing API but I don't know where I can set the target URL of this campaign. I can set the objective of the campaign to WEBSITE_CLICKS but where to set the URL it will goes to? If I use the...

Want to save facebook image into my rails app

I am using ominauth to signup users in my rails app.i also have a basic signup option with email address also. So for both users i have to save upload user picture in my file system I have regular file upload for my email users but for FB users i...

graph api get public events with rails/koala works only for some sites

This is my code Koala.config.api_version = 'v2.3' @oauth = Koala::Facebook::OAuth.new 'app_id', 'app_secret' @graph = Koala::Facebook::API.new @oauth.get_app_access_token @events = @graph.get_object('141991029192409/events') which works fine. If I try to fetch the events from another site like @events = @graph.get_object('161335993890217/events') I get this error GraphMethodException, code: 100, message: Unsupported get request. Please read the...

Getting User Birthday HTTP Request

Im trying to get birthday on the server side of my app. I have already the ["user_birthday"] permission on my login request. But now on the server i need to do something like this i guess. userBirtdhay = "https://graph.facebook.com/me?fields=birthday&" + user.services.facebook.id; But this results something like. https://graph.facebook.com/me?fields=birthday&10146450841965723dffsadf And if you...

Facebook Android API asks for additional permission

I am using v2.3 api here I can login with Facebook login button. Now how can I call additional permission on click? I have looked through answers for this question, but all of them look to be back-dated. Can someone show me the right way of asking for addition permission...

Android facebook sdk : Login works without proper key hash

I have created a android sample app in developers.facebook.com but I haven't provided any key hash in the settings. Now if I try to login in my sample with fb app is installed it gives the invalid key hasherror which is expected. However, If I disable the facebook app, it...

Facebook SDK 4.2 FBGraphUser protocol update

I am working on an Xcode project that has Facebook SDK 3.1.4. I am currently updating the SDK to 4.2. I was just wondering if someone can help me with the update related to FBGraphUser protocol and how I can update that for Facebook SDK 4.2. I have looked around...

Modify a button label in dynamics crm

In my associated view pages of some entities, i want to modify some button labels. For masculine noun entities I want to have: Ajouter une nouveau "NameOfEntity" and for feminine noun entities I want to have: Ajouter une nouvelle "NameOfEntity" how can i change the button label, knowing it is...

Facebook API profile picture

I created a website for my Students Organization. On that website there is a page where I list all the people who helped organize our Activities. Theres a picture of every member there. To get the images, I used their facebook profile pictures. I used http://graph.facebook.com/USERNAME/picture?height=250&width=250 This code did work...

Are the Facebook API Key and App Secret the same thing?

I am using a WordPress theme which requires entering an Facebook API key in order to enable comments. I created a new Facebook app, but all it's showing me is an App ID, API version, and an "app secret." Do I need to enter the app secret in place of...

Can't Post to Facebook Page using JS

Okay what I want is to post to the Facebook Page as an Page(This is developing mode application only viewable to ne). I have done with Facebook login. So basically I ask for 2 permissions and they are Manage Pages Publish Pages I can post to the page using the...

IOS: Easy Facebook SDK email retrieval Objective C

EDIT (Rewording the Question because it didn't make sense before.) I have a loginViewController that has he following IBAction: -(IBAction)fblogin:(id)sender { FBSDKLoginManager *login = [[FBSDKLoginManager alloc] init]; [login logInWithReadPermissions:@[@"email"] handler:^(FBSDKLoginManagerLoginResult *result, NSError *error) { if (error) { // Process error } else if (result.isCancelled) { // Handle cancellations } else...

Restart or no Restart after config file change

I have to make a small change to a SQL server config file (http://www.msbicoe.com/post/2013/05/06/SSRS-2012-Report-Server-cannot-load-the-TERADATASQLPDW-Extension-Error.aspx). Do I need to restart the server in order for the changes to be made or will it be fine without? Determines if I have to wait till an appropriate time to take the server down...

Call Facebook API to echo like count doesn't work

I'd like to display the number of likes for my Facebook page on my website. The previous method I used isn't working anymore since a couple of days. When I call the Facebook graph API like this: https://api.facebook.com/method/links.getStats?urls=http://www.facebook.com/549585444&format=json It gives me the following output (fictional example):...

facebook post on page wall - PHP SDK

I'm trying to create a script that post on a facebook page (as an administrator) a status. This is the script i'm using: try { $access_token = (new FacebookRequest( $session, 'GET', '/' . $pageID, array( 'fields' => 'access_token' ) )) ->execute()->getGraphObject()->asArray(); $access_token = $access_token['access_token']; $page_post = (new FacebookRequest( $session, 'POST',...

Graph API get user id facebook

How can I do this? Im using Graph API v2.3 I am able to get the access token, but I don't know how to get the user's ID....

Facebook Debugger Returning “Document returned no data”

Recently I noticed that Facebook's Object Debugger was unable to scrape any pages of my website. After troubleshooting and scouring the internet, I'm at a loss for what might be causing this bug. Whenever I attempt to fetch a new scrape of my website, the following error is returned: Error...

Getting user checkin information based on place_id from Facebook

I was wondering if there is any way to get user checkin information for different places based on the place_id. Facebook documentation keeps changing around and I'm not sure if this is possible now? Seems like it was possible in older API versions. Any help will be greatly appreciated.Thanks...

How get access token from other users

I need to read the posts on facebook. I had create the application and the program works if I log with my credential. But when I log with another credential ( like another profile that I have just created) the program doesn't work anymore. This is my login page: $config...

How to Execute an Operation Outside of a Plugin Transaction in Dynamics CRM

I have a Trace entity in my CRM system, and I want to insert records for that entity regardless of whether or not a plugin or workflow activity fails. When real-time plugin/workflow fails, all the data operations that have happened are rolled back, so any inserted Trace records are also...

Why does facebook app role id differ from user id?

I have a nodeJS application with facebook login provided by facebook-passport strategy. Once user logins, I save his data to my own database for later use. For this I have needed to create a facebook app. From the facebook app's configurations I have set up people for roles. In my...

How to easily use the Facebook API Realtime Updates feature?

First off, apologies for posting yet another question on Facebook Realtime Updates. I have read many existing stackoverflow answers and useful articles which helped, but I still can't seem to figure out how to put everything together. Also, this is the first time I use Facebook and it's API, so...

Start Facebook Chat with Another user using Facebook ID

Is there any way to start a facebook chat using the messenger application. I know we can lead a user to the messenger application using intents and using their Messenger API. But I want to do is open a chat window directly with particular user using the facebook User Id....

How to properly request facebook permissions ios

I am trying to retrieve a bunch of facebook information from user using the app using parse and the facebook sdk, but I haven't been able to do it successfully. First I check if the user is logged in and if they arn't I display the parse view controller with...

Unable to post to facebook page using app token

I am building my first facebook app and am facing a issue. Task : Build a entirely server side application to be used by the admin of a facebook page to post videos/photos on the page. This should not involve having the admin to log in everytime to generate the...

Getting the another title on Facebook SignIn button?

![on facebook sigin button im getting the login with Facebook title.Actual my button is Sign in with facebook]

CRM Advanced Find all the icons in wrong place

I've just loaded up the advanced find and I cant click on half the icons/drop downs as they are all in the wrong place. It works fine on other servers and other machines. It appears as if its a CSS problem. Any Ideas ...

Best way to achieve automatic posting to facebook using nodejs

I'm developing a nodejs app which basically posts in an automatic way, videos to a Facebook page. I'm the admin of the page so user auth should be done once. Up until now, I was using an unpublished facebook app to test it, but I just realize that while the...

PHP - Parse Facebook Post JSON

I am really struggling with parsing JSON data from Facebook's Graph API. I am using file_get_contents and json_decode to decode the object $json = file_get_contents($facebook_url); $obj = json_decode($json, true); Here is some sample JSON: { "data": [ { "place": { "id": "134972803193847", "name": "University of Southern California", "location": { "city":...

Using Graph API Explorer gets friends list but my own app doesn't . (Graph API Explorer token v.s App Token)

I am trying to get my friends list in my app. If I use the access token in my Graph API Explorer console and hit the url. https://graph.facebook.com/v2.3/me?access_token='GraphAPIToken'. I am able to get the complete friends list. If I try using the SDK or any library like fbgraph for nodejs...

login with facebook: django-allauth

I am using django-allauth to implement login with fb and google. It was working perfectly fine on my windows development machine. But when i shifted to the server(ubuntu 14.04 with apache2), I am facing this problem. I changed the app details on both facebook and google and have updated the...

Getting large photo with additional fields - Facebook

So this is how I'm retrieving Facebook friends and profile picture right now: https://graph.facebook.com/{{user_id}}/?fields=picture,friends&access_token={{app_id}}|{{app_secret}} However, the photo I get with it is small and the only way to get a large photo is: https://graph.facebook.com/{{user_id}}/picture?type=large&access_token={{app_id}}|{{app_secret}} So now I have to make two get requests; one for a large photo, and one...

CRM 2011 HTML web resource does not work in IE11

CRM 2011 html web resource is failing in IE11 with the error "Unable to get property 'CrmUrlEncode' of undefined or null reference". The same web resource works perfectly in IE 10 and less. The above error is triggering from the method context().getClientUrl() of XrmServiceToolkit (the codeplex library version 2.1). The...

angularjs ngfacebook batch request

Can anyone who knows how to use the angularjs ngFacebook module help me to perform a facebook batch request? Is it possible to do it with this module? What I need exactly is to get the user events from facebook, for that I have to do 4 different request: $facebook.api('/me/events/attending').then(function(response)...

Emberjs get facebook friendlist

I'm using Emberjs, Ember Simple Auth, and Torii (for the facebook-oauth2 provider). I was able to create a Facebook login and logout following this tutorial http://www.programwitherik.com/ember-simple-auth-torii-example-application/ For learning purposes, I'm trying to get my Facebook friendlist using the Ember Simple Auth and Tori not sure how to set up the...

How to retrieve Facebook post (preview) meta data for linking to external site, such as LinkedIn or Google Plus?

I'm trying to link to individual Facebook posts and display the post page's meta data, including an image preview, but looking at the FB post page's source, it has none of the usual meta nor open graph tags. I found that LinkedIn and Google Plus are able to retrieve meta...

Cant get information of my friends - Facebook Graph API [closed]

Im trying to get information of my friends, but just return of some friends, not all. What is the problem?...

Is it possible to Login to Facebook using Parse with publish_actions and email permissions?

I'm searching for days trying to figure it out but I only find questions or old answers that seems not to be working anymore. Loging in to Facebook with Parse is easy if you go through the tutorial, but if you want to do something "usefull" it just tells you...

Do I need Windows Server 2012 and VS 2012 or 2013 to write plugins for MS CRM 2015?

I've been asked to take a look at some of our current plugins and alter them for our upgrade to 2015. However, looking at the SDK it says the system requirements (see here) are Windows Server 2012 (and 8, but not relevant for me) and Visual Studio 2012 or 2013....

Get number of likes on a facebook page authentication

So as of recently, it seems that the graph API call to Facebook for lies, for example: https://graph.facebook.com/v2.3/pepsi?fields=name,likes requires authentication. Now I am reading the docs and can't seem to figure out how to authenticate my server to access this data for a page I'm running. Do I have to...