I need help with Facebook counts on Shareaholic wordpress plugin?
There is a post I know that should be showing shares/likes on the share bar, but nothing is showing. When I look at the URL in Facebook Debugger, I can see the URL is getting an oAuth error, although I have no idea how to fix it. I have the Facebook OGP plugin and have linked my Facebook app and most URLs work ok, but this particular one is not.
If I go here: http://graph.facebook.com/http://www.amyjbennett.com/2015/10/06/feathers-season-2-episode-9-with-heather-tollison/
you'll see I get the ID but not the shares.
But, the graph API that I found in my Facebook Developer application for this URL returns:
{
"error": {
"message": "An access token is required to request this resource.",
"type": "OAuthException",
"code": 104,
"fbtrace_id": "BIuSensfLPZ"
}
}
How can I get it to return without error and include the shares (which I know it has).
I think you should first get oAuth from Facebook graph login url then it will give you the access token(which is temporary generally) and save it to your database or session and use that access token to get resources of graphAPI. The following link might help.
https://developers.facebook.com/docs/facebook-login/web
Related
My app requests the user_link permission like this:
loginButton = findViewById(R.id.login_button);
loginButton.setPermissions("email", "user_link", "user_location");
And in the Graph API callback, the link field does contain a URL. However, for some users, selecting the link leads to the "Content Not Found" page. Why is this happening for some users but not all?
I just noticed that this only happens with test users! When Facebook tested my app, they used a name of a real user, but the email address was for a test user. Faked me out totally. I tested with an unfriended user and was able to see their page without a problem.
I need help with facebook API,
I have a plugin Flow-Flow Social Stream, I create new API from manual there method 2: https://docs.social-streams.com/article/46-authenticate-with-facebook.
enter image description here
But after paste all information on plugin I see only this error message:
Sorry, an error occurs from Facebook API: (#10) To use 'Page Public Content Access', your use of this endpoint must be reviewed and approved by Facebook. To submit this 'Page Public Content Access' feature for review please read our documentation on reviewable features: https://developers.facebook.com/docs/apps/review.
I don't know what more for this do now, please I there someone who Can advice me best solution or any advice?
This error is an indication that there is no proper page access token being used for the API requests. To be able to access content from just any public page, you would need to submit your app for review of that “feature” first. But with a page access token it isn’t “public” access any more, the page token proves that you have admin access to the particular page in question … so if you still get that error, it most likely means you did not create a proper page access token.
Double-check that, and debug your access token to see if it is actually a page access token for the page in question, and what permissions it includes. https://developers.facebook.com/tools/debug/accesstoken/
I have a website running wordpress. I have facebook login plugins, but I would like to be able to automatic post on visitors wall, whenevery they get points or perhaps other scenaries as well? Is there a plugin which enables me to do this?
There is no plugin, and autoposting is not allowed. You would need to authorize the user with the publish_actions permission for using the /me/feed endpoint to post something on his wall. And you would need to get publish_actions reviewed by Facebook before you can go public with it. You will never get that permission approved for autoposting. Every single post on the user wall must get approved by the user, and prefilling is not allowed - the message always must be 100% user generated.
Btw, rewarding a user for sharing something on his wall is not allowed either.
Platform policy: https://developers.facebook.com/policy/
I'm learning oauth2 using the google playground, I'm trying this request:
https://www.googleapis.com/youtube/v3/activities?part=snippet
and receiving this response:
{
"error": {
"code": 403,
"message": "Access Not Configured. Please use Google Developers Console to activate the API for your project.",
"errors": [
{
"domain": "usageLimits",
"message": "Access Not Configured. Please use Google Developers Console to activate the API for your project.",
"reason": "accessNotConfigured"
}
]
}
}
on the authorization tab I requested access to all yoututbe v3 api scopes and I granted access upon request. I'm assuming I'm forming the query parameters wrong perhaps? I'm new to oauth and how anything about it works.
I believe you need to use your own oauth clientID and secret for this particular API in the playground. If you click on the gear button on the right top corner and click the check mark on "Use your own credential" in the playground, you should be able to enter yours.
You can get your own OAuth credential by following the instruction here: https://developers.google.com/youtube/registering_an_application
Oh make sure you name your application and provide email under the APIS & AUTH ->Consent screen in the Developer console when you first create you OAuth credential for your project.
And there is one thing missing in your query as well... you need specify a filter as well. See if you can at least get this one working:
GET https://www.googleapis.com/youtube/v3/activities?part=snippet&home=true
I had the same issue, and before I found your question I had posted mine
Apparently Google hadn't enabled the Youtube Analytics API for the default/demo credentials in the oAuthPlayground, which is now enabled, see the accepted answer in the link
https://stackoverflow.com/a/33462959/2473413
Established in Drupal module "linkedin integration".
I have an API Key and Secret key on //www.linkedin.com,
There are two problems:
1) The module is configured, but you receive this error:
"401 : No LinkedIn account is associated with this user"
2) Posting of Content not working
If I edit a page and try to post it to linkedin it doesn't work. If I turn on debug I get the following:
Linkedin debug : LinkedIn.com answered "< : <
How can I fix this problem?
Problem one is that you have not yet linked your user with your linked in user.
To do this you should login as a normal user (password username from drupal).
Then when you go to your user edit screen you should see a tab linkedin if you click on it it will offer you the possibility to link your account. Make sure you are not in admin overlay mode it might not redirect you to linked in then.
After that save and you should be able to login
The posting problem can be more things.
I noticed that it takes pretty long for your post to appear in linked in so it might be that.
You did not show the rights you gave your application but make sure that in linked in you at least selected "rw_nus"
Linkedin documents show that right as doing:
Retrieve and post updates to LinkedIn as you
Im talking about the settings here:
The message debug gave back does not seem to mean anything (is a bug in the module i believe). I tested it myself and i got the same message and my post did appear a few minutes after that in linkedin