Publish events to Facebook with API V2 - php

With Facebook API V1 it was possible to publish event. With API V2 this is not possible anymore.
But Eventbrite still has this function.
How do they do it?

Looks like Facebook is doing V2 forced rollout in phases
Yes, according to Facebook, the process of switching all apps over to API v2 is expected to take a couple of weeks. This was stated in the Facebook Developers Group on Facebook, when they started the v1 to v2 migration.
or is treating Eventbrite preferentially.
No 3rd party app will get any special treatment – so even Eventbrite will not be able to create events via API any more, once their app is migrated to v2 as well.
This has also been stated by Facebook employees in the aforementioned group on multiple occasions. This topic has come up there frequently, also regarding f.e. removal of the ability to see all of a user’s friends or removal of the permission to access a user’s groups. People have been asking how “big players” like f.e. Hootsuite can still do those things, whereas their own apps that have been using API v2 already couldn’t – and the official answer has always been, those other apps are still using v1, but once they are migrated to v2 too, they will lose those abilities too, and there will be no special treatment or exceptions.

They are receiving special treatment from Facebook and they are using current API versions (or very near, 2.5 instead of 2.6 as of June 2016).
They keep repeating that statement ad infinitum: "No 3rd party app will get any special treatment" but it's simply not true. EventBrite is using v2.5 and V1 was phased out April last year?
You can definitely still publish facebook events directly from within EventBrite.
Facebook has a long standing record of setting double standards with regards to their API, regardless of what Zuckerberg might preach at F8 from his podium.

I got this response from Facebook - have not yet tried if this really works:
*Thank you for writing to us. We understand your reaction however please do try out sample permissions using Graph API and you would be able to understand which permission is producing the dialog you see with Everbrite.
For example the dialog you see as per stack overflow report is using the rsvp_event login permission that is available to all our developers.
https://developers.facebook.com/docs/facebook-login/permissions/ -> rsvp_event section will help you understand how you can request for one and what actions can be performed in terms of "managing your event"*

Related

Getting followers and following with Instagram APIs

I am studying to integrate Instagram into my app.But I have some confusion.
I found 2 API document: https://www.instagram.com/developer/ and https://developers.facebook.com/docs/instagram-api/. They have differences about supporting API Endpoints as well as how to use. So, what are they and what should we use the one for my app?
I need to get followers and following of user. But I could not found any APIs support for that functions.
Could you please help, I really need it for my app.
Thanks a lot
As of 1st of June 2016. Now you're only able to get the list of your
own followers/followings.
You can read about it here.
This api is used to get own followers/following list :
https://api.instagram.com/v1/users/self/follows?access_token=ACCESS-TOKEN
I was using the documentation found on the Instagram website, which will show you lots of end points but only let you use these two if your app has not been approved. At least that was the case until a few days ago, when accessing those endpoints started throwing off CORS errors.

Facebook Graph API Events

I want to make an application where I will add specific events to a webpage, and users will Login with Facebook into my website and can invite their friends to any events they want.
In the Graph API Event docs https://developers.facebook.com/docs/graph-api/reference/v2.1/event/invited it says "You cannot invite people to events via the Graph API.". However I found this https://developers.facebook.com/blog/post/560/ where it says issuing a POST request to the /event/invited edge will invite the user to the event. There is also a notice on this second link that says "We're sorry, but the information in this post is over a year old and may be outdated. You can look for updated info by browsing our docs or trying a search.".
Has anyone here tried to do this before? I want to make sure it is possible before I start writing the code. Any help would be very useful.
The blog post given in the question is dated Sept 2011. The Graph API 2.0 was introduced in April 2014. https://developers.facebook.com/docs/apps/changelog
create_event permission was deprecated in Graph API 2.0 . Applications using v2.0 and v2.1 cannot manage Facebook events. Events and event counts (no of attending users, no of maybe users, no of declined users) only can be accessed in v2.0.
I did not try it, but it seems it is not possible. If anyone finds a way to do this, please let me know!

Is it still possible to use Google OAuth without plus?

I have a working php code which lets users login through Google Api.
The problem is, this code requires users to become Google Plus users.
I use the latest api located at http://code.google.com/p/google-api-php-client/downloads/list and still couldn't find out if I can use the same service for people who do not have and do not want to activate Google "plus".
update: I understand that this might be a 3rd party api question and I also think that this is a question about a popular 3rd party api and this question and it's answers may still help many people out there.
answer of the question: for quick reference, the answer is *Google_Oauth2Service* class
You can use Google OAuth as a mechanism to authenticate users without requiring that those Google users have activated Google+ accounts. See Using OAuth 2.0 for login. This approach relies on requesting the user's identity via the userinfo.profile or userinfo.email OAuth scopes.
You get advanced functionality and social capabilities if you use Google+ Sign-In, and if your users opt for that option, they will be prompted to upgrade their Google account. This approach uses the plus.login OAuth scope, which gets you identity information in addition to other API methods that can be called.
Choosing the approach that works for your app and audience is up to you.
As of june 2015, you have to use the google+ API to set up the sign-in (Other methods were deprecated).
If you want your user to sign-in without a google+ account, you need to specify "profile" instead of "https://www.googleapis.com/auth/plus.login" as the scope as explained here

Yodlee-SDK API Implementation

I have signed a NDA with yodlee and i have got all the SDK files(java,jar and other related docs).
I am a PHP Programmer and from my understanding:
Yodlee is like an engine (almost like Twitter or Facebook) and we need to leverage the API to build different apps
The documents I have gone through is not with good-sufficient information.
They use SOAP-API and I need to use this API.
I have surfed the net for days, and finally posting a question here.
My Question is very simple
I have to register a user from my php-form to yodlee using soap-api -> Is this possible
If No, is it possible to login from my web-portal to yodlee and access the fin.apps.?
# 1 is possible. Other clients have done it. You just have to invoke the web services operations from php. We have php sample code.talk to the sales representative about getting access to sample apps plus Yodlee SDK developer forum.
# 2 is not possible.

Is there any good totuiral to facebook API and is it possible to get the friends list of the user in my site?

I want to build a website that you can login with your facebook account.
what tutorial or any good beginner's book is there on this issue.
Is there any good sample of source code for this use
can I get the friends lists of my users and split it to males and females?
what is the difference between GRAPH and Facebook API?
Facebook have a few methods for integrating facebook in websites, check out the Facebook for Websites tutorial.
You have a few ways to implement this using the tools facebook provides you with, for example you can use the Registration Plugin (you can find code & examples in this tutorial).
If you have a facebook application and a user authorizes your app, then you can get the list of his friends. Without asking for specific permissions though all you will get is the their names/facebook ids. If you need more than that check out the Permissions documentation (2nd column refers to the friends).
Both things are the same, you just gave them different names.. It's called the Graph Api, there's no other "facebook api". This graph api also supports FQL in case the api alone is not enough for what it is you need.

Categories