some questions about Facebook Graph api [closed] - facebook-graph-api

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have been doing extensive research on facebook graph api and still have several issues that are unclear to me.
I searched in FACEBOOK API for this question but I didn't find good information about
where I can found "Facebook limitations" ( ex. no. sending messages per day , searching , creating events , invitations ) ?
2.Sorry for asking this question again in forum but really I would like to know if there is new way that can solved my problem .
about sending private message to friends through graph api instead of using Send Dialog?
Is there is way to fill "To,Message" fields in Send Dialog as default values?
inviting friends to event through api it's possible ?
how can I read posting/comments on friends wall without getting specific permission from my friends ?
Thanks

I searched in FACEBOOK API for this question but I didn't find good
information about where I can found "Facebook limitations" ( ex. no.
sending messages per day , searching , creating events , invitations )
?
There really aren't any - except I haven't seen a known API for searching feeds of a user.
2.Sorry for asking this question again in forum but really I would like to know if there is new way that can solved my problem . about
sending private message to friends through graph api instead of using
Send Dialog?
Is there is way to fill "To,Message" fields in Send Dialog as default
values?
inviting friends to event through api it's possible ?
All possible - On any client, if you have an oauth token, you can always send messages to the user, without bubbling the To, Message dialogues. Or, if you have them on the server, your client can ask the server to post those messages non-interactively!
You need certain permissions for authorization before you attempt reading the feeds. Facebook does document the default app permissions you have.
how can I read posting/comments on friends wall without getting
specific permission from my friends ?

Related

WSO2 IS - Is there any rest or soap endpoints where we can update the challenge questions of a user

we need to implement the "Update Challenge Questions of a user" functionality through WSO2 IS. We have an application UI from where post login, user can update his challenge questions as well as answers. I found that with the "setChallengeQuestionsOfUser" operation in the "UserIdentityManagementAdminService?wsdl", we can save the challenge questions and answers of a user. Do we have any operation for update scenario?
If i use the same operation, it saves the questions and answers to WSO2 IS for that user, but it does not remove old questions.
No, update challenge question operation is not available via rest or soap endpoints.

App not getting data from Graph API anymore & problems filling out for review

Take a breath... it's a very specific question, not directly a bug.
(But I can't get an answer from Facebook, after thousands of FAQ pages I somehow landed in a chat with Facebook Advertisers Support, they told me to come here.)
Description of my app
I have a Facebook Page, on which I'm sharing events from some other Facebook Pages I'm cooperating with. Kind of an event aggregator. The main goal is to help people who are new in town to find all that interesting events and the groups and pages they are organized by.
As you can imagine, it's based on a server-side application, that collects the upcoming events through Graph API and posts on my own Facebook Page the day before the event.
Of course I had to give the server-side application the manage_pages and publish_pages right. This Facebook App will never be used by an end-user, I'm the only user and I'm only posting to my own Facebook Page.
The server-side application worked fine for more than a year.
I just started a Facebook Ad Campaign and poster and flyers are currently being printed. And now...
What broke
You all heard of Cambridge Analytica. Due to these bad guys Facebook is currently changing a lot. One change was this:
As we begin enhancing our new app review process and make changes to our platform, the Events, Groups, Pages and Instagram APIs will no longer be available to new developers. Testing of our more robust process starts today and the new process should resume in a few weeks, but apps currently accessing Events and Groups APIs will lose access today. Going forward, access to these APIs will require a formal app review and for apps using the Pages API, submission is required within 90 days once app review resumes or access will be removed.
(See https://developers.facebook.com/blog/post/2018/04/04/facebook-api-platform-product-changes)
Since nearly two weeks my server-application can't fetch events. Graph API is always returning an empty array data: [].
I have full understanding for this. Now I tried to follow these new requirements and had a look on how to submit my App for review. But that's where my struggles began:
The specific problem
The whole form for applying for review is aimed to Apps for end-users, not server-side bots.
I should provide details on why I'm using manage_pages or publish_pages. Well okay...
When selecting "automated posting" there immediatly a message pops up, telling me, that this is not allowed. Of course it is not - for applications that post in the name of persons without their knowing and aggreement. But my App is posting in the name of my own Facebook Page and I'm the only user and I'm knowing what's going to be posted. So I have to select "Other" and enter a custom description. No problem.
But at the end of the form there's asked for a Screencast! What should I make a movie of? Should I make a slideshow of my code? I can't save this form without that Screencast.
I want to be conform to the new Facebook processes, but I simply don't know how to become approved nor at least fill out for review...
I know this is not a programming question but Facebook directed me here.
So I hope I find a Facebook official or Facebook developer here. Thank you so far!

Facebook Graph API Event Search Not Working

This question "how to search facebook public events using graph api" has already been asked and successfully answered.
How can I query public facebook events by location/city?
All examples look ok and they match facebook search api docs but some reason non of them are functional
https://developers.facebook.com/tools/explorer?method=GET&path=search%3Fq%3Dlondon%26type%3Devent&version=v2.5
Any ideas what is the problem?
If something does not work as expected, it´s most likely because of a bug. Right now it´s a well known bug and subject of many bug reports already: https://developers.facebook.com/bugs/916199865137566/

Posting questions to groups via the graph API

I am new to the Facebook graph API and I am currently developing my first app using the php-sdk. I am looking to be able to post questions on a group via the graph API. I have come across Facebook's blog post here http://developers.facebook.com/blog/post/635/ which gives an example of posting a question to a page, but I have found little documentation on posting questions to groups. I have attempted to post a question to a group with the following code, which is throwing an 'Unsupported post request' error. I don’t know why it isn’t working, as I have no problems posting questions to a users feed with this code.
$params = array(
'question'=> $question,
'options'=> $options,
'allow_new_options' => false
);
$questionpost = $facebook->api('/' . $ID . '/questions', 'POST', $params);
Any help would be appreciated.
This is odd. You cannot (as well as I cannot) find documentation on how to post a question to a group via the API. Then you try posting a question, just like you can to a page (per the blog post), to a group and receive an error. Well, I assume that pretty well confirms that you cannot post a question to a group using the API.
From: https://developers.facebook.com/blog/post/635/
We are now adding the option to write them. To create a question for
the current user, issue an HTTP POST to the questions connection like
this:
Here's a PHP example that shows the optional parameters: options and
allow_new_options -- and how to post a question as a Page using its
access token:
Please notice they did not say you can do this for groups. Only users and pages.
You should file a bug with Facebook asking them to implement the ability to post a question to a group. Please report back here the bug number so other stack overflow users can see/track the bug.
Thanks!
Happy coding.

how to find a website vulnerabilities [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Has anyone got the idea how to find a website vulnerabilities issues?
like:
Log in as the user test Find the admin control page as a non adminuser
Get the website to print out full debug information for an error
Using a different method from part (1), log in as user1#gmail.com
Use an XSS attack to open a pop up window displaying a website of your
choice1
Describe how a similar XSS attack could be used to log in as
admin
Get the store to owe you money Log in as the user admin
Access the basket of a user, while not logged on as that user
Describe a CSRF attack that can be used to change someones password
Many thanks
The Open Web Application Security Project maintains several guides describing the types of attacks that can be done on web applications. You may want to start with:
The Getting Started Guide
The Top 10 Guide which documents the most common types of vulnerabilities
The Guide Project which is attempting to build in-depth documentation of vulnerability classes
The Testing Project
In addition, other vendors have their own lists; for example, Microsoft has one that is no longer updated.