I've newly started working with Facebook graph API, what I want to do is that I want to create an application not to redirect on any domain
just a application which runs like we play farm villa in side of facebook and the user will give permission to post on there pages
then my app will be able to Post what ever they want on their pages and there will a cron that will delete post after couple of minutes.
I've one example of this application but it on website i want to do it in app
the example can be seen here
http://fb.groupdivvy.com/index.php
Related
I want to post updates automatically to my facebook page from my PHP website.
Facebook seems to force me to create an App where users can login and then post stuff.
But I don´t need all that stuff, I just want to post to the facebook page directly via code.
I went "Ok, I´ll create an App", but now for them to give my app the needed permissions, they want me to give them a login so they can test my app and stuff ... Is there no simple way to just autopost something to my own Facebook page?
Scenario
I'm building an application that needs the ability to post to users wall (personal profile) on behalf of a user on facebook. I remember before the way that I would do it is request a permission "publish_actions" but reading through their documentation i came to this page:
https://developers.facebook.com/docs/graph-api/changelog/breaking-changes/#login-4-24
which states that that is being deprecated.
They recommended an alternative which is using their sharing product found here but this seems like it would break one of the functionalies of my current application (I dont want to share content i want users to post it to whenever they choose to on whichever account they choose to).
Question
Is there a way to get posting to a users wall and NOT an event, page or group. If i'm correct I can still post data to events, pages and groups via API as normal but to a users wall its different? I need to post on their wall via api but i can't seem to find the permission.
My facebook api graph version for my app is 3.0 and im using their PHP SDK to make the requests.
I would like to know how i would be able to synchronize data (news and events) with a facebook page.
For example, I have a web site called abc.com (with a news and events section), and a facebook page called facebook.com/abc. I would like to know how i could synchronize the news and events from abc.com with facebook.com/abc. Whenever the administrator manages news and events, the data should automatically update itself on its facebook page.
Could anyone kindly guide me or even post some URL's that would help me out.
Use any of the following services,
ping.fm
hellotxt
They are providing API for that.. From that, you can update many social networking sites at once.
Just register with any of these services and the API to update the status at the end of the script where u add/upload things or stuffs..
I'm currently working on a website backend which allows the administrator to manage photoalbums.
Besides, we have a Facebook page and we'd like to let the website and FB-page interact between each other.
The pictures are stored on the server the backend is hosted on. Now I'd like to know if it's possible, using the Facebook API, to publish a link to the photoalbum along with a thumbnail to the FB-page?
Untill now I've only worked with the FB API to put some Like buttons on my website, so I don't know if this is possible.
Hello I am looking to build a basic API and application/apps system on my social network something like Facebook or other sites have, my site is in php/mysql. Here are some questions.
1)
Basically what I want to do is give a user a API key and secret. After I have these how can I use them in my php app to authenticate a user request which would come from there server?
2)
I can basically build an API to send a request to my server with CURL and get the result back to the page in XML or JSON or whatever, the problem is when sending the request the user would have to know the user ID they want to send to lookup data against, this is fine for an API but I am wanting to have an Apps section where the user's app site would be using the API and would be loaded into my site in the app section with an iframe, the problem is, I need to find a good way to make it where a logged in user on my site can go to the app section and go to an app and there username should be available to that page loaded in the iframe. Facebook and myspace do this somehow and many other sites; I am lost how to get around this hurdle.
Any help on any of this is really appreciated, thank you
Update:
I just had an idea, if I require a cookie to be set when a user visit's my site, then they would have a cookie and it could hold there User ID, then my API script could look for that cookie to exist and grab it's value?
If you plane on using an IFRAME, then no, your API hosted on a separate website (the website inside the IFRAME) would not be able to grab the cookie. The cookie is only visible on the website that it was set for.
I have only used Facebook API with the FBML (not the IFRAME,) but all they do their is basically replace what's in the page with the info that the "tag" is calling. I'm not sure if there is a better way, but you could possibly call a page on the app's server (say the app is hosted at http://example.com/app/, and you called http://example.com/app/?id=28318&name=John%20Maguire,) and have your API code handle it and turn it into a variable?
Maybe you should look into the source code of the Facebook API client.