Comments (6)
The same thing happens to me, same thing with posting photos to FB, this is all I've tried though :(
from androidsocialnetworks.
Yes there is a problem with old facebook sdk, I solved it and make pull requests tommorow or at weekands.
If you need it right now - you can try my extension for this lib
https://github.com/gorbin/ASNE
as I said all changes I'll pull as soon as posible
from androidsocialnetworks.
I made pull request, and here some info:
firstly, to post and corect work with facebook you need to setup fb app correctly:
for example, you can add your app to check share posibilities:
- create your app in facebook
- add android platform
- enable your app in review-status
- in \api_demos\src\main\res\values\congig.xml setup your appId
p.s. this error may corrupt becouse FB update their api and stay old apps work as they work, and new work by new rules
It would be great if @antonkrasov update fb app(just create new one) to resolve all errors which may occur old/new api. now api-demo use old fbapp
from androidsocialnetworks.
Finally I found what happens.
Facebook policy changed when they updates to Login Api, now to get publish permission facebook App should be reviewed to get publish action permissions, but they didn't review small "test" apps, for them they give another opportunity - roles in facebook app
So, all users who are not testers/developers of facebook app didn't see and can't confirm publish permission(its need to make make post, photo, links) - but administrator can add anybody as tester, he ned just add id, then requester should confirm in his facebook dev account, that he is tester - after it he got all necessary permissions
Or we got alternative - dialog, which dont need publish permission
I add it as soon as possible, I can add dialogs only to G+ and FB
from androidsocialnetworks.
@gorbin
The following code snip shows how to post to twitter app's dialog.
Intent intent = new Intent(Intent.ACTION_SEND);
intent.putExtra(Intent.EXTRA_TEXT, "some message");
intent.setType("text/plain");
intent.addCategory(Intent.CATEGORY_LAUNCHER);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
intent.setComponent(new ComponentName("com.twitter.android", "com.twitter.android.composer.ComposerActivity"));
try {
startActivityForResult(intent, REQUEST_CODE_POST);
} catch (ActivityNotFoundException e) {
//Can't found Twitter App
}
from androidsocialnetworks.
@dna1982
Tnx, I'll try it, but it works only if user got twitter app, else need to create custom dialog - dont want to create my custom dialog(security etc.)
my custom fork with 2 russian social networks(sorry for russian) - https://github.com/gorbin/ASNE
check dialogs here...
from androidsocialnetworks.
Related Issues (20)
- Not call onLoginSuccess HOT 5
- No SocialPerson nickname HOT 10
- Login with Github using ASN. HOT 1
- email & birth date on linkedIn HOT 3
- Multiple dex files define LinkedInCommunicationClient HOT 10
- Expires HOT 4
- making the login state app wide ? HOT 13
- typo in exeption
- onSocialNetworkManagerInitialized please return the instance
- Duplicate dex issues with Parse HOT 1
- How to declare gradle dependency? HOT 2
- Trouble with integrating services : project can't find a specific version of android support library HOT 2
- manifest errors
- error adding the library HOT 2
- Plus.PeopleApi.getCurrentPerson(mGoogleApiClient) always returns null
- Facebook post not working
- Session: an attempt was made to request new permissions for a session that has a pending request.
- facebook part does not work with fb sdk 4+
- Integration of Google+ isn't working in the same class where I integrated Facebook. HOT 1
- Modularity HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidsocialnetworks.